diff options
author | Mike Stump <mrs@apple.com> | 2007-03-21 18:45:40 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2007-03-21 18:45:40 +0000 |
commit | 2cbac420eab19240d9e51bc649ed2c5ffc5e4f44 (patch) | |
tree | d7ba5e090485358e8a71832fc5c5eb726ccace11 /gcc/c.opt | |
parent | 17939c986e43ba302f9dd4adb7c6740902083ab3 (diff) | |
download | gcc-2cbac420eab19240d9e51bc649ed2c5ffc5e4f44.zip gcc-2cbac420eab19240d9e51bc649ed2c5ffc5e4f44.tar.gz gcc-2cbac420eab19240d9e51bc649ed2c5ffc5e4f44.tar.bz2 |
* c.opt: Fixup for Objective-C/C++.
From-SVN: r123114
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -133,7 +133,7 @@ C ObjC Var(warn_bad_function_cast) Warning Warn about casting functions to incompatible types Wc++-compat -C Var(warn_cxx_compat) Warning +C ObjC Var(warn_cxx_compat) Warning Warn about C constructs that are not in the common subset of C and C++ Wc++0x-compat @@ -177,7 +177,7 @@ C++ ObjC++ Var(warn_deprecated) Init(1) Warning Warn about deprecated compiler features Wdiv-by-zero -C ObjC C++ Var(warn_div_by_zero) Init(1) Warning +C ObjC C++ ObjC++ Var(warn_div_by_zero) Init(1) Warning Warn about compile-time integer division by zero Weffc++ @@ -559,7 +559,7 @@ ObjC ObjC++ Generate code for GNU runtime environment fgnu89-inline -C Var(flag_gnu89_inline) Init(-1) +C ObjC Var(flag_gnu89_inline) Init(-1) Use traditional GNU semantics for inline functions fguiding-decls @@ -592,7 +592,7 @@ C++ ObjC++ Emit implicit instantiations of templates ffriend-injection -C++ Var(flag_friend_injection) +C++ ObjC++ Var(flag_friend_injection) Inject friend functions into enclosing namespace flabels-ok |