(c_decode_option): Ignore -Wundef, -Wno-undef.
authorRichard Kenner <kenner@gcc.gnu.org>
Sun, 13 Apr 1997 16:47:53 +0000 (12:47 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sun, 13 Apr 1997 16:47:53 +0000 (12:47 -0400)
From-SVN: r13875

gcc/c-decl.c

index f9860e299af7d7b58a5bbdea964b0420a0cf6f93..25595215f4d3f7c0398162837d49532f3df2270e 100644 (file)
@@ -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"))