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

> gcc/po/ChangeLog:
> 
> 2017-03-15  Martin Liska  <mli...@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
jos...@codesourcery.com

Reply via email to