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

Re: C++ error printer cleanup, phase 1


As long as we're discussing future directions for the diagnostic
machinery: it needs to be augmented to support the %1$ notation from
XPG4, so that translators can use it.

To do that, the language hook needs to be split into two routines, one
which extracts an argument from the variable args list, and another
which prints it; the latter has to cope with being called multiple
times on the same data object.

I'm not sure how to store the data in between, given that the
language-independent code has no way of knowing its type or even its
size.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]