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]

Re: c++ template bug


Mark Mitchell <mark@markmitchell.com> writes:

>>>>>> "Alexandre" == Alexandre Oliva <oliva@dcc.unicamp.br> writes:

root> template<class T> class A { public: void f(); }; class B :
root> public A<int> { public: void f(); }; int main() { B b; B& b1
root> = b; b1.A<int>::f(); }

Alexandre> What do you mean?  With the latest snapshot

> Well, with what's in CVS, I still seem to get:
[snip]
> So, either one of us is crazy :-), or something's different between
> the snapshot and the CVS tree, or ???

There's certainly something different between the snapshot and the
current egcs 1.1 branch.  Actually, in the branch, there are several
ChangeLog entries prior to the snapshot date that are not included in
the snapshot, but I can't seem to find out which of those might have
introduced the problem.  :-(

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



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