Bug report - g++ 2.95

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri Dec 31 20:54:00 GMT 1999


> Sorry, I didn't have the time to try this under the latest
> snapshot. I did try it under egcs 1.1.2 and got the same result.
> I hope the program is small enough to be useful.  :)

Thanks for your bug report. The mainline compiler (2.96 19991202
(experimental)) says

a.cc:2: `template <C> struct hash' is not a function template
a.cc:2: syntax error before `{'

so the bug has been fixed (and the bug in the program is now
detected).

Regards,
Martin



More information about the Gcc-bugs mailing list