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
- To: Neil Booth <NeilB at earthling dot net>
- Subject: Re: Patch for undefined behaviour in gcc
- From: Roland McGrath <roland at frob dot com>
- Date: Fri, 27 Oct 2000 03:20:27 -0400 (EDT)
- Cc: Ulrich Drepper <drepper at cygnus dot com>, Andreas Jaeger <aj at suse dot de>, libc-alpha Mailinglist <libc-alpha at sourceware dot cygnus dot com>
You have missed the fundamental point.
The implementation of glibc uses GCC extensions. There is no reason it
should not. If you want these warnings in your own code, fine. But they
should not be reported for code in system headers, just like many other
warnings are not.