Improvement

Konstantin Baumann kostab@ESCHER.UNI-MUENSTER.DE
Fri Jan 23 05:40:00 GMT 1998


This is not a bug-report but a suggestion for an improvement of a
compile-error output:

If you try to access a protected/private member of a class you get an
error like this:

... `ReturnType Class::methode(ArgTypes ...)` is protected
... within this context

But is the given context a template-function/member-function of a
template-class the template-arguments for this instantiation are
unknown!

I would suggest that this information should also be supplied!

-- 
Konstantin Baumann                   Westfaelische Wilhelms-Universitaet 
Institut fuer Informatik (Zi. 603),  Einsteinstr. 62,   D-48149 Muenster
mailto:kostab@math.uni-muenster.de                  Tel:+49-251-83-32701
http://wwwmath.uni-muenster.de/cs/u/kostab/         Fax:+49-251-83-33755



More information about the Gcc-bugs mailing list