* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
authorNeil Booth <neil@daikokuya.co.uk>
Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)
committerNeil Booth <neil@gcc.gnu.org>
Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)
From-SVN: r58952

gcc/ChangeLog
gcc/c-opts.c

index 58448c2b2f2e0790d9acb4f85b1e803aee5d3ed0..affba0a03ea0291507d1366a4de9737d9bab07e6 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-09  Neil Booth  <neil@daikokuya.co.uk>
+
+       * c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
+
 2002-11-08  Dale Johannesen  <dalej@apple.com>
 
         * dbxout.c (dbxout_type):  Fix stabs info for vector types.
index 5a781df4ebe729bba27307e6e383a628690369c4..b8e5fe52bb4bbd6c6b111eefe1a00688d34ba492 100644 (file)
@@ -148,7 +148,7 @@ static void sanitize_cpp_opts PARAMS ((void));
   OPT("Wformat-y2k",           CL_ALL,   OPT_Wformat_y2k)                   \
   OPT("Wformat-zero-length",   CL_C,     OPT_Wformat_zero_length)           \
   OPT("Wformat=",              CL_ALL | CL_JOINED, OPT_Wformat_eq)          \
-  OPT("Wimplicit",             CL_CXX,   OPT_Wimplicit)                     \
+  OPT("Wimplicit",             CL_ALL,   OPT_Wimplicit)                     \
   OPT("Wimplicit-function-declaration",        CL_C, OPT_Wimplicit_function_decl)   \
   OPT("Wimplicit-int",         CL_C,     OPT_Wimplicit_int)                 \
   OPT("Wimport",                CL_ALL,   OPT_Wimport)                      \