This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Re: GCC 2.95.3 and LIBC


First, I know I screwed up.  Strdupa needs "_GNU_SOURCE"
defined to
be usable.  And yes, it is defined in "string.h."

But the real problem is it isn't usable in C++ because of
the void pointer
return to "__builtin_alloca."

I submitted a change request to the glibc folks requesting a
cast to char*
so it can be used.  Is that reasonable?

Thanks.

Tom Browder


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]