Joseph S. Myers - Re: PATCH RFC: -Wstrict-overflow (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

On Thu, 31 Jan 2007, Ian Lance Taylor wrote:

+static void +fold_overflow_warning (const char* warnmsg) +{

This parameter should be called "gmsgid" so that strings passed to this function are extracted for translation; see ABOUT-GCC-NLS.

Strings such as these not directly appearing as arguments called "*msgid" need to be marked with G_() so that they are extracted for translation.

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