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] Fix PR preprocessor/20077: GCC accepts macro definitions that fail a constraint


On Tue, 17 Oct 2006, Simon Martin wrote:

> +  const char *paste_op_error_msg =
> +    "'##' cannot appear at either end of a macro expansion";

By moving this string here it will no longer be extracted for translation 
like it would as an argument to cpp_error.  You need to write
N_("'##' cannot appear at either end of a macro expansion")
instead so that it still gets extracted.

-- 
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]