Removing unspecified template parameters from error messages
Theodore Papadopoulo
Theodore.Papadopoulo@sophia.inria.fr
Fri Oct 29 17:22:00 GMT 2004
gdr@cs.tamu.edu said:
> Where are you making the changes? In cp/error.c?
Yes since as far as I can tell it seems that it is the machinery
within cp/error.c that gets called for diagnostics, not the one in
cp/cxx-pretty-print.c. Am I missing something ?
I saw cp/cxx-pretty-print.c but using gdb found that it was not used
for emitting diagnostics.
> I think cp/cxx-pretty-print.c is a better place, as it allows for more
> information to flow in properly and naturally.
I will look at it during the week-end.... But again, how can I make
use of cp/cxx-pretty-print.c for diagnostics. There is clearly
something that I did not understood.
gdr@cs.tamu.edu said:
> cxx_pretty_printer has a flag, pp_c_base(pp)->flags, that you can use
> to add more meaningful information. You might want to augment
> cxx_pretty_printer itself with such information that cannot fit into
> the enumeration.
Thank's for the tip...
Theo.
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
More information about the Gcc
mailing list