This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: How to enable all warnings of all warnings of GCCs?
- From: "John (Eljay) Love-Jensen" <eljay at adobe dot com>
- To: "J.C. Pizarro" <jcpiza at gmail dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Sat, 1 Dec 2007 12:43:34 -0800
- Subject: RE: How to enable all warnings of all warnings of GCCs?
- References: <998d0e4a0712010157h278c63cl11ec6ead6ea0eb65@mail.gmail.com>
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