[PATCH] Fix -Os related -Werror failures.
Joseph Myers
joseph@codesourcery.com
Fri Oct 28 12:49:00 GMT 2016
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
More information about the Libc-alpha
mailing list