diff mbox

[wwwdocs] Move -Wodr and -Wsuggest-final-{methods,types} items to C++ section.

Message ID 20141207001023.GA3134@redhat.com
State New
Headers show

Commit Message

Jonathan Wakely Dec. 7, 2014, 12:10 a.m. UTC
The items on these new warnings are listed under libstdc++, but should
be under C++.

Committed to CVS.
diff mbox

Patch

? 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>