This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] Fix -Os related -Werror failures.


On 10/28/2016 02:49 PM, Joseph Myers wrote:
On Fri, 28 Oct 2016, Florian Weimer wrote:

Those who want to build with -Os or other special compiler flags should just
configure with --disable-werror.  We can't account for every optimization
someone might want to disable in their build.

I don't think --disable-werror should be encouraged.

-Wmaybe-uninitialized warnings can be issued very late from the optimizers, so this is very much a corner case in terms of usefulness for -Werror because it is practically guaranteed to have new false positives with unusual architectures, compiler versions, and optimization flags.

If the presence of this warning in particular leads people to use --disable-werror, maybe we should remove it from the default set of warnings which trigger errors.

Florian


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