Bug in C++-STL

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Apr 12 12:42:00 GMT 2000


> the following problem occurred when I tried to compile a c++-file with the
> g++-2.95.2:


Thanks for your bug report. Please read the error message carefully.

> /usr/include/g++/stl_alloc.h:394:  (use -ftemplate-depth-NN to increase the
>  maximum)

You've exceeded a compiler limit, giving -ftemplate-depth-40 lets
compilation succeed.

Regards,
Martin



More information about the Gcc-bugs mailing list