On Tue, 2017-10-31 at 23:20 +0000, Joseph Myers wrote: > 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. >
Good catch. Yes: "make gcc.pot" seems to work; I re-ran it, and it generated a po/gcc.pot; I verified some of the rich_location * callsites by hand, e.g.: #: c/c-decl.c:3475 #, gcc-internal-format msgid "%qE undeclared here (not in a function); did you mean %qs?" msgstr "" and it appears to be working as before. Thanks Dave