This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[wwwdocs] Move -Wodr and -Wsuggest-final-{methods,types} items to C++ section.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sun, 7 Dec 2014 00:10:23 +0000
- Subject: [wwwdocs] Move -Wodr and -Wsuggest-final-{methods,types} items to C++ section.
- Authentication-results: sourceware.org; auth=none
The items on these new warnings are listed under libstdc++, but should
be under C++.
Committed to CVS.
? gcc-5/.changes.html.swp
Index: gcc-5/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.46
diff -u -r1.46 changes.html
--- gcc-5/changes.html 6 Dec 2014 16:29:23 -0000 1.46
+++ gcc-5/changes.html 7 Dec 2014 00:05:57 -0000
@@ -239,6 +239,15 @@
constexpr int i = f(42); // i is 42</pre></blockquote>
</li>
+ <li>New One Definition Rule violation warning (controlled by <code>-Wodr</code>)
+ detects mismatches in type definitions and virtual table contents
+ during link-time optimization.</li>
+ <li>New warnings <code>-Wsuggest-final-types</code> and
+ <code>-Wsuggest-final-methods</code> helps developers
+ to annotate programs by <code>final</code> specifiers (or anonymous
+ namespaces) in the cases where code generation improves.
+ These warnings can be used at compile time, but they are more
+ useful in combination with link-time optimization.</li>
</ul>
<h4 id="libstdcxx">Runtime Library (libstdc++)</h4>
@@ -295,15 +304,6 @@
</li>
<li>New random number distributions <code>logistic_distribution</code> and
<code>uniform_on_sphere_distribution</code> as extensions.</li>
- <li>New One Definition Rule violation warning (controlled by <code>-Wodr</code>)
- detects mismatches in type definitions and virtual table contents
- during link-time optimization.</li>
- <li>New warnings <code>-Wsuggest-final-types</code> and
- <code>-Wsuggest-final-methods</code> helps developers
- to annotate programs by <code>final</code> specifiers (or anonymous
- namespaces) in the cases where code generation improves.
- These warnings can be used at compile time, but they are more
- useful in combination with link-time optimization.</li>
<li><a href="https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html">GDB
Xmethods</a> for Sequence Containers and <code>std::unique_ptr</code>;</li>
</ul>