use -ftemplate-depth= instead of -ftemplate-depth-
Gerald Pfeifer
gerald@pfeifer.com
Sun Apr 4 10:38:00 GMT 2010
On Sat, 20 Feb 2010, Manuel López-Ibáñez wrote:
> Like it happened with Wlarger-than, ftemplate-depth does not follow
> usual GNU conventions for parameter switches. This patch fixes this
> but maintains that old option for backwards compatibility.
We also need to document this. How about the following?
When did we change -Wlarger-than? If with GCC 4.5, too, would you
mind adding a doc snippet, too?
Gerald
--- changes.html.orig 2010-04-04 12:33:15.000000000 +0200
+++ changes.html 2010-04-04 12:35:43.000000000 +0200
@@ -329,6 +329,10 @@
new mangling is not on by default; users can activate it
with <code>-fabi-version=4</code> or <code>-fabi-version=0</code>.
<code>-Wabi</code> will now warn about code that uses the old mangling.</li>
+
+ <li>The command-line option <code>-ftemplate-depth-N</code> is now
+ written as <code>-ftemplate-depth=N</code> and the old form is
+ deprecated.</li>
</ul>
<h4>Runtime Library (libstdc++)</h4>
More information about the Gcc-patches
mailing list