On Thu, 15 Jan 2015, Jakub Jelinek wrote: > --- libcpp/expr.c.jj 2015-01-14 11:01:34.000000000 +0100 > +++ libcpp/expr.c 2015-01-14 14:35:52.851002344 +0100 > @@ -672,16 +672,17 @@ cpp_classify_number (cpp_reader *pfile, > if ((result & CPP_N_WIDTH) == CPP_N_LARGE > && CPP_OPTION (pfile, cpp_warn_long_long)) > { > - const char *message = CPP_OPTION (pfile, cplusplus) > - ? N_("use of C++11 long long integer constant") > - : N_("use of C99 long long integer constant"); > - > if (CPP_OPTION (pfile, c99)) > cpp_warning_with_line (pfile, CPP_W_LONG_LONG, virtual_location, > - 0, message); > + 0, CPP_OPTION (pfile, cplusplus) > + ? "use of C++11 long long integer > constant" > + : "use of C99 long long integer > constant"); > else > cpp_pedwarning_with_line (pfile, CPP_W_LONG_LONG, > - virtual_location, 0, message); > + virtual_location, 0, > + CPP_OPTION (pfile, cplusplus) > + ? "use of C++11 long long integer > constant" > + : "use of C99 long long integer > constant");
I think this sort of thing needs N_() on both messages so that they both get extracted for translation. -- Joseph S. Myers jos...@codesourcery.com