This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid -Werror=format-security errors in libcpp


On Fri, 16 Jan 2015, Jakub Jelinek wrote:

> Anyway, in that case guess we also need to change unrelated:
> 
> --- libcpp/expr.c.jj	2015-01-05 13:07:21.000000000 +0100
> +++ libcpp/expr.c	2015-01-16 12:54:56.517522643 +0100
> @@ -696,9 +696,9 @@ cpp_classify_number (cpp_reader *pfile,
>        && CPP_PEDANTIC (pfile))
>      cpp_error_with_line (pfile, CPP_DL_PEDWARN, virtual_location, 0,
>  			 CPP_OPTION (pfile, cplusplus)
> -			 ? "binary constants are a C++14 feature "
> -			   "or GCC extension"
> -			 : "binary constants are a GCC extension");
> +			 ? N_("binary constants are a C++14 feature "
> +			      "or GCC extension")
> +			 : N_("binary constants are a GCC extension"));

This should be committed as obvious.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]