This is the mail archive of the gcc-help@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]
Other format: [Raw text]

RE: How to enable all warnings of all warnings of GCCs?


Hi J.C.,

I use a trick similar in spirit to Tom's.

I made a bash shell script called w++ which does:

g++ \
-Wall \
-Wextra \
-Wyadayadayada \
... \
"$@"

That enables all the warnings for me (some of which I've decided are uninteresting, and then I disabled them).

I which there was a -WALL or -Wall-and-when-I-say-all-I-really-mean-all flag.

Sincerely,
--Eljay


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