diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-05-09 13:09:19 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-05-09 13:09:19 +0000 |
commit | 1e4e9f15bb143dade8b9658c471f55c021e3e058 (patch) | |
tree | 4896551f2ba7e0159cc921696daef64af3da3ac3 | |
parent | f9c0605ea3028b0863ab2171472cef9db7c2f593 (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@
-rw-r--r-- | gnu/gcc/gcc/c.opt | 4 |
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++ |