Gcc template problems
Claudio Bley
bley@cs.uni-magdeburg.de
Tue Jan 15 10:05:00 GMT 2002
>>>>> "lglastre" == lglastre <l_glastre@yahoo.de> writes:
lglastre> subscribe ___________________________________
lglastre> Hello,
lglastre> I've some probleme with my gcc since the 2.96 version
lglastre> with operator template. You could find down here the
lglastre> listing a the result of the compilation which give me
lglastre> problem.
lglastre> N.B : the souce get gut with the other compilers I use :
lglastre> Egcs.1.1.2 (linux) Hp compiler(hpux) and whatcom
lglastre> compiler (Qnx)
Whereby it might be interesting that it compiles just fine here (gcc
3.0.3) if I swap these two lines:
friend foo <T> operator - <> ( foo <T> f1, foo <T> f2);
foo <T> operator - (void);
Claudio
More information about the Gcc-help
mailing list