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.opt | |
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.opt')
-rw-r--r-- | gcc/c.opt | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -216,6 +216,10 @@ Wformat-nonliteral C ObjC C++ ObjC++ Var(warn_format_nonliteral) Warning Warn about format strings that are not literals +Wformat-contains-nul +C ObjC C++ ObjC++ Var(warn_format_contains_nul) +Warn about format strings that contain NUL bytes + Wformat-security C ObjC C++ ObjC++ Var(warn_format_security) Warning Warn about possible security problems with format functions |