C++ Templete function internal error bug report

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


> And I reimplemanted. and Error is occored.

Thanks for your bug report. Unfortunately, you did not say which compiler version you are using; see

http://egcs.cygnus.com/faq.html#bugreport

for information we need. I tried compiling your code with gcc-2.95.2.
g++ found several errors with your code, such as

Graph.h:22: ANSI C++ forbids declaration `insert' with no type

This suggests you are using an older compiler; I suggest to update.

Hope this helps,
Martin



More information about the Gcc-bugs mailing list