This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/9966: basic_string::operator+ uses recursice template instantiation
- From: bangerth at dealii dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, struppi at acm dot org
- Date: 5 Mar 2003 15:06:22 -0000
- Subject: Re: c++/9966: basic_string::operator+ uses recursice template instantiation
- Reply-to: bangerth at dealii dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, struppi at acm dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: basic_string::operator+ uses recursice template instantiation
State-Changed-From-To: open->closed
State-Changed-By: bangerth
State-Changed-When: Wed Mar 5 15:06:21 2003
State-Changed-Why:
This is not a bug: the default for -ftemplate-depth is 500,
so if you arbitrarily restrict it you might expect trouble.
The standard prescribes the rather limited minimum of 17
for -ftemplate-depth, which apparently is not enough to
compile some useful programs (like yours).
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9966