Message ID | CADzB+2kA6J3jW_PmnW7HtXeUjcjAeOa2WQzb8_WCpa2AUFmKDA@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 4656b4f..72597f3 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -23926,8 +23926,8 @@ cp_parser_exception_specification_opt (cp_parser* parser) } else if (cxx_dialect >= cxx11 && !in_system_header_at (loc)) warning_at (loc, OPT_Wdeprecated, - "dynamic exception specifications are deprecated in C++11;" - " use %<noexcept%> instead"); + "dynamic exception specifications are deprecated in " + "C++11"); } /* In C++17, throw() is equivalent to noexcept (true). throw() is deprecated in C++11 and above as well, but is still widely used,