This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Re: GCC 2.95.3 and LIBC
- To: <gcc-bugs at gcc dot gnu dot org>
- Subject: Re: Re: GCC 2.95.3 and LIBC
- From: "Tom Browder" <tbrowder at home dot com>
- Date: Sun, 1 Apr 2001 10:32:55 -0500
- References: <985825256.9872.ezmlm@gcc.gnu.org> <002001c0b7e9$9aa0b420$98520c18@CX376762B> <jmn1a4t92m.fsf@geoffk.org>
- Reply-To: "Tom Browder" <TBrowder at home dot com>
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