Commit 5713d448 by Marek Polacek Committed by Marek Polacek

re PR translation/79705 (cp/decl.c message not marked for translation)

	PR translation/79705
	* decl.c (check_redeclaration_exception_specification): Mark a string
	for translation.  Make the pointer const.

From-SVN: r245717
parent fd527ec1
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
......
......@@ -1273,8 +1273,8 @@ check_redeclaration_exception_specification (tree new_decl,
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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment