https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79705
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mpolacek at gcc dot gnu.org
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I suppose we want
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -1274,7 +1274,7 @@ check_redeclaration_exception_specification (tree
new_decl,
&& !comp_except_specs (new_exceptions, old_exceptions, ce_normal))
{
const char *msg
- = "declaration of %qF has a different exception specifier";
+ = G_("declaration of %qF has a different exception specifier");
bool complained = true;
location_t new_loc = DECL_SOURCE_LOCATION (new_decl);
if (DECL_IN_SYSTEM_HEADER (old_decl))