This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Patch] Document the default value of -ftemplate-depth
- From: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 6 Dec 2002 14:23:52 -0600 (CST)
- Subject: [Patch] Document the default value of -ftemplate-depth
The documentation of -ftemplate-depth does not state what the default
value for this switch is. In case this should just be an oversight, then
someone might want to apply the following patch.
Regards
Wolfgang
2002-12-05 Wolfgang Bangerth <bangerth@ticam.utexas.edu>
* doc/invoke.texi: Document default value 500 for
-ftemplate-depth
Index: invoke.texi
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/doc/invoke.texi,v
retrieving revision 1.203
diff -c -r1.203 invoke.texi
*** invoke.texi 26 Nov 2002 00:31:30 -0000 1.203
--- invoke.texi 6 Dec 2002 20:04:12 -0000
***************
*** 1448,1454 ****
Set the maximum instantiation depth for template classes to @var{n}.
A limit on the template instantiation depth is needed to detect
endless recursions during template class instantiation. ANSI/ISO C++
! conforming programs must not rely on a maximum depth greater than 17.
@item -fuse-cxa-atexit
@opindex fuse-cxa-atexit
--- 1448,1455 ----
Set the maximum instantiation depth for template classes to @var{n}.
A limit on the template instantiation depth is needed to detect
endless recursions during template class instantiation. ANSI/ISO C++
! conforming programs must not rely on a maximum depth greater than
! 17. The default value for @var{n} is presently 500.
@item -fuse-cxa-atexit
@opindex fuse-cxa-atexit
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth