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++/21043] Compilation error when trying to call method of a class contain by grand-mother with a template mother and class


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-04-15 12:59 -------
Not a bug.

This has to do with two-stage name-lookup, see last bullet in
http://gcc.gnu.org/bugs.html#new34
and
http://gcc.gnu.org/gcc-3.4/changes.html

You could use
this->m_.p(), this->A::m_.p(), B<T>::A::m_.p()


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21043


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