This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch for undefined behaviour in gcc


Roland McGrath wrote:-
> 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.

Development versions of GCC suppress all warnings in system headers,
for this very reason.

Neil.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]