diff options
Diffstat (limited to 'gcc/c.opt')
-rw-r--r-- | gcc/c.opt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/c.opt b/gcc/c.opt index 1df0666f660..9669f2ca6ba 100644 --- a/gcc/c.opt +++ b/gcc/c.opt @@ -195,6 +195,10 @@ Wendif-labels C ObjC C++ ObjC++ Warning Warn about stray tokens after #elif and #endif +Wenum-compare +C++ ObjC++ Var(warn_enum_compare) Init(1) Warning +Warn about comparison of different enum types + Werror C ObjC C++ ObjC++ ; Documented in common.opt @@ -864,9 +868,6 @@ C ObjC C++ ObjC++ Joined Separate lang-asm C Undocumented -lang-fortran -C Undocumented - lang-objc C ObjC C++ ObjC++ Undocumented |