How to enable all warnings of all warnings of GCCs?

John (Eljay) Love-Jensen eljay@adobe.com
Sat Dec 1 20:46:00 GMT 2007


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



More information about the Gcc-help mailing list