It is intended that -Wall over-ride specific flags?

Joseph S. Myers
Thu Aug 9 20:43:00 GMT 2012

On Thu, 9 Aug 2012, Bruce Korb wrote:

> 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

Indeed.  My model for how options should interact in such cases is 
appendix 1 of <>.

Joseph S. Myers

More information about the Gcc mailing list