[Bug driver/52863] Enable -Wall by default
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Apr 4 12:39:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52863
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |manu at gcc dot gnu.org
--- Comment #2 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-04 12:39:07 UTC ---
Although Clang is getting away with this, there are some very noisy warnings in
GCC's -Wall, like:
-Warray-bounds (only with -O2) -Wsign-compare (only in C++) -Wuninitialized
For sure, some -Wall warnings should be enabled by default, such as -Wformat,
-Wformat-security and -Wnonnull (like Ubuntu does already).
Other candidates, in my opinion, are -Wimplicit, -Wcomment and
-Wsequence-point.
More information about the Gcc-bugs
mailing list