This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[WWW] [Committed] Note -Wc++0x-compat for GCC 4.3
- From: Douglas Gregor <doug dot gregor at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 3 Feb 2007 21:54:27 -0500
- Subject: [WWW] [Committed] Note -Wc++0x-compat for GCC 4.3
Just committed the following patch to wwwdocs, noting the addition of
-Wc++0x-compat to GCC 4.3.
Cheers,
Doug
Index: htdocs/gcc-4.3/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.3/changes.html,v
retrieving revision 1.25
diff -u -r1.25 changes.html
--- htdocs/gcc-4.3/changes.html 31 Jan 2007 15:15:11 -0000 1.25
+++ htdocs/gcc-4.3/changes.html 4 Feb 2007 02:51:00 -0000
@@ -135,6 +135,10 @@
</ul>
</li>
+ <li><code>-Wc++0x-compat</code> has been added and is now enabled by
+ default for <code>-Wall</code>. It produces warnings for constructs
+ whose meaning differs between ISO C++ 1998 and C++0x.</li>
+
<li>The <code>-Wparentheses</code> option now works for C++ as it
does for C. It warns if parentheses are omitted when operators with
confusing precedence are nested. It also warns about ambiguous else