This is the mail archive of the gcc@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: template with friend function problem


> 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

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