From dab9b3bf3db81366921edab2c8fb5bed9bd84a3c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 13 Apr 1997 12:47:53 -0400 Subject: [PATCH] (c_decode_option): Ignore -Wundef, -Wno-undef. From-SVN: r13875 --- gcc/c-decl.c | 4 ++++ 1 file changed, 4 insertions(+) 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")) -- 2.30.2