Template bug

Martin v. Loewis martin@mira.isdn.cs.tu-berlin.de
Sun Oct 31 23:03:00 GMT 1999


>  I thought you might like to know about this bug in the template handling
> code thats been giving me some trouble. In case its of any use, you might as
> well know that swapping the order in which the functions test1 and test2 are
> declared fixes the problem. As well as being in the latest snapshot I've
> got, this bug is also in gcc release 2.95.1.

Although I can reproduce this with 2.95.1, gcc version 2.96 19991008
compiles this fine. So it seems to be fixed.

Regards,
Martin



More information about the Gcc-bugs mailing list