This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] diagnostics: get rid of *_at_rich_loc in favor of overloading
- From: Joseph Myers <joseph at codesourcery dot com>
- To: David Malcolm <dmalcolm at redhat dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 31 Oct 2017 23:20:18 +0000
- Subject: Re: [committed] diagnostics: get rid of *_at_rich_loc in favor of overloading
- Authentication-results: sourceware.org; auth=none
- References: <1509481632-30121-1-git-send-email-dmalcolm@redhat.com>
To confirm: can you make sure that exgettext (via "make gcc.pot") still
works to extract messages from these overloaded functions for translation?
It *should* work, because the msgid argument is at the same position for
all overloads (what definitely doesn't work is overloads of diagnostic
functions where the same function name can have the msgid argument in
different positions for different overloads), but it's still a good idea
to test to make sure.
--
Joseph S. Myers
joseph@codesourcery.com