[PATCH 3/3] Regenerate gcc.pot.

Joseph Myers joseph@codesourcery.com
Wed Mar 15 16:35:00 GMT 2017


On Wed, 15 Mar 2017, Martin Liška wrote:

> gcc/po/ChangeLog:
> 
> 2017-03-15  Martin Liska  <mliska@suse.cz>
> 
> 	* exgettext: Exclude internal_error_cont from location.

If you don't want a function's arguments to be extracted for translation, 
you should not special-case it in exgettext.  Instead:

* Ensure the relevant arguments do not have names ending "msgid", so that 
the arguments are not extracted to gcc.pot.

* Ensure that the arguments end up going to diagnostic_set_info_translated 
without passing through the _() call in diagnostic_set_info, so no attempt 
is made to translate at runtime.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Gcc-patches mailing list