GCC 2.95.3 and LIBC

Tom Browder tbrowder@home.com
Sun Apr 1 08:34:00 GMT 2001


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



More information about the Gcc-bugs mailing list