summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.co.uk>2002-11-09 12:37:08 +0000
committerNeil Booth <neil@gcc.gnu.org>2002-11-09 12:37:08 +0000
commit57800e9e701a4e8d02cf529079077649008ad36b (patch)
tree57c910ac638d05797f82cef7f9f379165e96530a /gcc
parent8c47cfd82ab2d2f81995dc0f347764bcfc466b5f (diff)
downloadgcc-57800e9e701a4e8d02cf529079077649008ad36b.tar.gz
* c-opts.c (COMMAND_LINE_OPTIONS): Fix -Wimplicit.
From-SVN: r58952
Diffstat (limited to 'gcc')
-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) \