aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-09 12:37:08 +0000
committerneil <neil@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-09 12:37:08 +0000
commit0d946853d70acece617a9568f5786def450d55be (patch)
tree57c910ac638d05797f82cef7f9f379165e96530a
parent4ca0babf2a4fad2afcfd1a4509527c7087e21f70 (diff)
* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58952 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/c-opts.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 58448c2b2f2..affba0a03ea 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/c-opts.c b/gcc/c-opts.c
index 5a781df4ebe..b8e5fe52bb4 100644
--- a/gcc/c-opts.c
+++ b/gcc/c-opts.c
@@ -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) \