diff options
Diffstat (limited to 'gcc/cppinit.c')
-rw-r--r-- | gcc/cppinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppinit.c b/gcc/cppinit.c index b869c54..cbd4ce9 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1196,10 +1196,10 @@ cpp_handle_option (pfile, argc, argv) case 'p': if (!strcmp (argv[i], "-pedantic")) - SET_CPP_PEDANTIC (pfile); + opts->pedantic = 1; else if (!strcmp (argv[i], "-pedantic-errors")) { - SET_CPP_PEDANTIC (pfile); + opts->pedantic = 1; opts->pedantic_errors = 1; } break; |