diff options
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r-- | gcc/cp/error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c index 858dc5b..6595063 100644 --- a/gcc/cp/error.c +++ b/gcc/cp/error.c @@ -3306,7 +3306,7 @@ maybe_warn_cpp0x (cpp0x_warn_str str) "only available with -std=c++11 or -std=gnu++11"); break; case CPP0X_INLINE_NAMESPACES: - pedwarn (input_location, OPT_pedantic, + pedwarn (input_location, OPT_Wpedantic, "inline namespaces " "only available with -std=c++11 or -std=gnu++11"); break; |