This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
suggest gcc option -Wallall to add absolutely every -W* option
- To: egcs at cygnus dot com
- Subject: suggest gcc option -Wallall to add absolutely every -W* option
- From: "Frederick W. Wheeler" <wheeler at ipl dot rpi dot edu>
- Date: Thu, 12 Nov 1998 10:29:38 -0500 (EST)
In the interest of less messy command lines I suggest a new option for
gcc: -Wallall. Right now -Wall adds about a dozen important -W*
options. I think -Wallall should add absolutely every -W* option that
exists now or is added in the future. Common usage would be to use
the -Wallall option to add all options and then remove unwanted
warning options with -Wno-*, and specify specific arguments to options
like -Wlarger-than-NNN.
Example:
gcc -Wallall -Wno-error -Wlarger-than-32 -Wno-aggregate-return ...
Regards,
Fred Wheeler