PR translation/79705
* decl.c (check_redeclaration_exception_specification): Mark a string
for translation. Make the pointer const.
From-SVN: r245717
+2017-02-24 Marek Polacek <polacek@redhat.com>
+
+ PR translation/79705
+ * decl.c (check_redeclaration_exception_specification): Mark a string
+ for translation. Make the pointer const.
+
2017-02-23 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/79361
if (! DECL_IS_BUILTIN (old_decl)
&& !comp_except_specs (new_exceptions, old_exceptions, ce_normal))
{
- const char *msg
- = "declaration of %qF has a different exception specifier";
+ const char *const msg
+ = 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))