summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-05-09 13:09:19 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-05-09 13:09:19 +0000
commit1e4e9f15bb143dade8b9658c471f55c021e3e058 (patch)
tree4896551f2ba7e0159cc921696daef64af3da3ac3 /gnu
parentf9c0605ea3028b0863ab2171472cef9db7c2f593 (diff)
Accept and ignore -Wbounded, fully implementing this is in the works
but this makes things less painful for people for the time being. ok kettenis@ robert@
Diffstat (limited to 'gnu')
-rw-r--r--gnu/gcc/gcc/c.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/gcc/gcc/c.opt b/gnu/gcc/gcc/c.opt
index 01f47fcbb74..2d38a89b336 100644
--- a/gnu/gcc/gcc/c.opt
+++ b/gnu/gcc/gcc/c.opt
@@ -132,6 +132,10 @@ Wbad-function-cast
C ObjC Var(warn_bad_function_cast)
Warn about casting functions to incompatible types
+Wbounded
+C ObjC Var(warn_bounded)
+Warn about basic buffer size problems
+
Wc++-compat
C ObjC Var(warn_cxx_compat)
Warn about C constructs that are not in the common subset of C and C++