[PATCH] macros: Globally add --disable-silent-rules to configure
Adam Jackson
ajax at redhat.com
Mon Aug 15 14:01:10 UTC 2011
On 8/13/11 2:23 PM, Jim Meyering wrote:
> I'd start with -O2 -D_FORTIFY_SOURCE=2 and something like
> this subset of -Wall:
>
> -Warray-bounds
> -Wchar-subscripts
> -Wsequence-point
gcc now has:
-Werror=
Make the specified warning into an error. The specifier for a
warning is appended, for example -Werror=switch turns the warnings
controlled by -Wswitch into errors. This switch takes a negative
form, to be used to negate -Werror for specific warnings, for
example -Wno-error=switch makes -Wswitch warnings not be errors,
even when -Werror is in effect.
There's quite a few warnings we could reasonably promote to errors like
this. FESCO would be happy to listen to a proposal for such, if anyone
feels like doing the research.
- ajax
More information about the devel
mailing list