diff options
Diffstat (limited to 'gcc/cpplib.c')
-rw-r--r-- | gcc/cpplib.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cpplib.c b/gcc/cpplib.c index f7e43ff..6e2177e 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -6490,6 +6490,10 @@ cpp_handle_options (pfile, argc, argv) opts->warn_stringify = 1; else if (!strcmp (argv[i], "-Wno-traditional")) opts->warn_stringify = 0; + else if (!strcmp (argv[i], "-Wundef")) + opts->warn_undef = 1; + else if (!strcmp (argv[i], "-Wno-undef")) + opts->warn_undef = 0; else if (!strcmp (argv[i], "-Wimport")) opts->warn_import = 1; else if (!strcmp (argv[i], "-Wno-import")) |