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]
Other format: [Raw text]

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


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