This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [GLIBC][PATCH v2] Remove strdup inlines
On Dez 12 2016, Joseph Myers <joseph@codesourcery.com> wrote:
> GCC can only do that in general for C90 functions. Consider someone
> selecting strict POSIX with -std=c99 -D_POSIX_C_SOURCE=200809L; glibc
> knows these names are reserved in that context, GCC doesn't. (Well, for
> str* there's strictly a general C reservation, but glibc doesn't take
> advantage of it.)
That reservation is only active when the associated header is included.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."