This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug c++/30378] cryptic expression in error message for ill-formed template code



------- 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


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