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]

Rectification: No -fno-implicit-templates bug


| 1) The second part of the -fno-implicit-templates bug reported in
|    http://www.cygnus.com/ml/egcs-bugs/1998-Aug/0113.html
|    is still valid.

Hmm, this is not true.  My mistake.
When, with -fno-implicit-templates, you get the error:

virtual2.o(.A<D, C>::gnu.linkonce.t.(int)+0x23): undefined reference to `A<D, C>::V virtual table'

then you need to instantiate "A<D, C>", and when you get

virtual2.o(.B<A<C, D> >::gnu.linkonce.t.(void)+0x8): undefined reference to `B<A<C, D> > virtual table'

then you need to instantiate "B<A<C, D> >".

:)

Sorry for reporting a non-existant bug.

http://www.cygnus.com/ml/egcs-bugs/1998-Aug/0113.html

is now dealt with.

-- 
 Carlo Wood  <carlo@runaway.xs4all.nl>


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