public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 1528c44593180742ab827f9ea66d31e75b803de0
@ 2020-06-26 19:56 Marek Polacek
0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2020-06-26 19:56 UTC (permalink / raw)
To: gcc-cvs-wwwdocs
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".
The branch, master has been updated
via 1528c44593180742ab827f9ea66d31e75b803de0 (commit)
from b452d150304f6aff6246b27c02dd5f4e9b7b174d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1528c44593180742ab827f9ea66d31e75b803de0
Author: Marek Polacek <polacek@redhat.com>
Date: Fri Jun 26 15:56:12 2020 -0400
The default C++ dialect in GCC 11 is C++17.
diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index dc22f216..cea01a9c 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -30,6 +30,9 @@ a work-in-progress.</p>
<!-- .................................................................. -->
<h2>Caveats</h2>
<ul>
+ <li>The default mode for C++ is now <code>-std=gnu++17</code> instead of
+ <code>-std=gnu++14</code>.</li>
+
<li>Naming and location of auxiliary and dump output files changed.
If you compile multiple input files in a single command, if you
enable Link Time Optimization, or if you use <code>-dumpbase</code>,
@@ -72,6 +75,7 @@ a work-in-progress.</p>
<h3 id="cxx">C++</h3>
<ul>
+ <li>The default mode has been changed to <code>-std=gnu++17</code>.</li>
<li>Several C++ Defect Reports have been resolved, e.g.:
<ul>
<li>DR 1512, Pointer comparison vs qualification conversions</li>
diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html
index b5cdd1a9..ed1a3440 100644
--- a/htdocs/projects/cxx-status.html
+++ b/htdocs/projects/cxx-status.html
@@ -577,11 +577,10 @@
<a href="https://gcc.gnu.org/onlinedocs/libstdc++/manual/status.html#status.iso.2017">the library documentation</a>.
</p>
- <p>C++17 features are available since GCC 5. To enable C++17
- support, add the command-line parameter <code>-std=c++17</code>
- to your <code>g++</code> command line. Or, to enable GNU
- extensions in addition to C++17 features,
- add <code>-std=gnu++17</code>.</p>
+ <p>C++17 features are available since GCC 5. This mode is the default
+ in GCC 11; it can be explicitly selected with the <code>-std=c++17</code>
+ command-line flag, or <code>-std=gnu++17</code> to enable GNU extensions
+ as well.</p>
<h2>C++17 Language Features</h2>
@@ -902,8 +901,8 @@
<p>GCC has full support for the previous revision of the C++
standard, which was published in 2014.</p>
- <p>This mode is the default in GCC 6.1 and above; it can be explicitly
- selected with the <code>-std=c++14</code> command-line flag,
+ <p>This mode is the default in GCC 6.1 up until GCC 10 (including); it can
+ be explicitly selected with the <code>-std=c++14</code> command-line flag,
or <code>-std=gnu++14</code> to enable GNU extensions as well.</p>
<h2>C++14 Language Features</h2>
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-11/changes.html | 4 ++++
htdocs/projects/cxx-status.html | 13 ++++++-------
2 files changed, 10 insertions(+), 7 deletions(-)
hooks/post-receive
--
gcc-wwwdocs
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-26 19:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 19:56 gcc-wwwdocs branch master updated. 1528c44593180742ab827f9ea66d31e75b803de0 Marek Polacek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).