This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
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