diff options
author | Bruce Korb <bkorb@gnu.org> | 2007-04-07 17:55:07 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2007-04-07 17:55:07 +0000 |
commit | ca178f85a63290092282309bc58d624379f749b9 (patch) | |
tree | 19dc2cc7322d36f6899efcd2e24c938b87f989ee /gcc/c-opts.c | |
parent | 594dc04813751aa479a77f866f2bd179fba03730 (diff) | |
download | gcc-ca178f85a63290092282309bc58d624379f749b9.zip gcc-ca178f85a63290092282309bc58d624379f749b9.tar.gz gcc-ca178f85a63290092282309bc58d624379f749b9.tar.bz2 |
Separate NUL byte detection from rest of -Wformat warnings
From-SVN: r123640
Diffstat (limited to 'gcc/c-opts.c')
-rw-r--r-- | gcc/c-opts.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/c-opts.c b/gcc/c-opts.c index b3878ea..2130c7d 100644 --- a/gcc/c-opts.c +++ b/gcc/c-opts.c @@ -1106,6 +1106,8 @@ c_common_post_options (const char **pfilename) "-Wformat-zero-length ignored without -Wformat"); warning (OPT_Wformat_nonliteral, "-Wformat-nonliteral ignored without -Wformat"); + warning (OPT_Wformat_contains_nul, + "-Wformat-contains-nul ignored without -Wformat"); warning (OPT_Wformat_security, "-Wformat-security ignored without -Wformat"); } |