* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2002 12:37:08 +0000 (12:37 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58952 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-opts.c

index 58448c2..affba0a 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 5a781df..b8e5fe5 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)                      \