summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1997-04-13 12:47:53 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1997-04-13 12:47:53 -0400
commitdab9b3bf3db81366921edab2c8fb5bed9bd84a3c (patch)
tree4a8cae2a44b980dd9893b573d4a360c6f0532737 /gcc/c-decl.c
parentc7710c1f46741beb220c56edfacd97c8c322fec5 (diff)
downloadgcc-dab9b3bf3db81366921edab2c8fb5bed9bd84a3c.tar.gz
(c_decode_option): Ignore -Wundef, -Wno-undef.
From-SVN: r13875
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index f9860e299af..25595215f4d 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -723,6 +723,10 @@ c_decode_option (p)
; /* cpp handles this one. */
else if (!strcmp (p, "-Wno-trigraphs"))
; /* cpp handles this one. */
+ else if (!strcmp (p, "-Wundef"))
+ ; /* cpp handles this one. */
+ else if (!strcmp (p, "-Wno-undef"))
+ ; /* cpp handles this one. */
else if (!strcmp (p, "-Wimport"))
; /* cpp handles this one. */
else if (!strcmp (p, "-Wno-import"))