summaryrefslogtreecommitdiff
path: root/gcc/c.opt
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-07 17:55:07 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-07 17:55:07 +0000
commit0e9b4e746539d6df7de6212cc43f566b48b20a2d (patch)
tree19dc2cc7322d36f6899efcd2e24c938b87f989ee /gcc/c.opt
parent918ee5061560bfd815809c17679345559229d7d2 (diff)
downloadgcc-0e9b4e746539d6df7de6212cc43f566b48b20a2d.tar.gz
Separate NUL byte detection from rest of -Wformat warnings
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123640 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c.opt')
-rw-r--r--gcc/c.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c.opt b/gcc/c.opt
index dd793b7fb83..9af480355b1 100644
--- a/gcc/c.opt
+++ b/gcc/c.opt
@@ -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