This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

suggest gcc option -Wallall to add absolutely every -W* option



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]