This is the mail archive of the gcc-bugs@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: C++ Templete function internal error bug report


> 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

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