template with friend function problem

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue Mar 21 16:00:00 GMT 2000


> So, unless instantiation.o was not included in library, there is a bug
> in gcc.

I tried compiling the example myself now. The declaration of
CoolBaseVector was missing, so I assumed an empty class. With that,
gcc 2.95.2 gives my an assembler file that contains

cross_3d__H1Zf_RCt10CoolVector1ZX01T0_t10CoolVector1ZX01

IOW, I could not reproduce any problem...

Regards,
Martin


More information about the Gcc mailing list