This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Patch for undefined behaviour in gcc
Neil Booth <NeilB@earthling.net> writes:
> Good point, I hadn't thought about the definedness changing. I'll
> make it a -pedantic warning, and document the behaviour of defined in
> macros. Do you find that acceptable?
As long as the warning is also never (even with -pedantic) given for
use of the feature in system headers, yes. That's all I asked for.
Thanks.
> Glibc is just terribly incestuous in its assumptions about
> undocumented GCC internals.
You don't get it. The warnings you add warn about non-ISO C behavior.
That's not what we are using, we use GNU C. In this context the
warning is not adequate.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------