This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
It is intended that -Wall over-ride specific flags?
- From: Bruce Korb <bruce dot korb at gmail dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Thu, 09 Aug 2012 13:37:23 -0700
- Subject: It is intended that -Wall over-ride specific flags?
Hi,
This command:
gcc -Wno-format-contains-nul -Wall -Werror
falls over if a format string contains a nul byte.
I think it should not. There needs to be a way for
collective warning options (e.g. "-Wall") to skip
over anything set by a more specific option.
("format-contains-nul" being fairly specific.)
If agreed, I'll supply some patch when I find that
round tuit I misplaced.
Thanks - Bruce