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]
Other format: [Raw text]

Re: c++/9966: basic_string::operator+ uses recursice template instantiation


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


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