[Bug c++/30378] cryptic expression in error message for ill-formed template code
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Jan 5 04:34:00 GMT 2007
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-01-05 04:34 -------
We could better pretty print: "*((B<int>*)this)->B<int>::a += x" to something
like:
*(this->B<int>::a) += x
Which should get a better picture of things.
"and the explicit qualification", I think that is actually a benifit to our
pretty print system.
EDG just prints out the line which is ok except when macros come into place :).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30378
More information about the Gcc-bugs
mailing list