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 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.  We could add DIAG_* 
macro variants that do nothing except with -Os so don't disable the 
warnings in other cases, if there isn't a code cleanup to avoid the 
warnings.

-- 
Joseph S. Myers
joseph@codesourcery.com


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