This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Avoid -Werror=format-security errors in libcpp
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Jason Merrill <jason at redhat dot com>, <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 16 Jan 2015 16:42:11 +0000
- Subject: Re: [PATCH] Avoid -Werror=format-security errors in libcpp
- Authentication-results: sourceware.org; auth=none
- References: <20150115111916 dot GE1405 at tucnak dot redhat dot com> <alpine dot DEB dot 2 dot 10 dot 1501152137370 dot 1361 at digraph dot polyomino dot org dot uk> <20150116121658 dot GN1405 at tucnak dot redhat dot com>
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