public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
From: Marek Polacek <mpolacek@sourceware.org>
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated. 1528c44593180742ab827f9ea66d31e75b803de0
Date: Fri, 26 Jun 2020 19:56:58 +0000 (GMT)	[thread overview]
Message-ID: <20200626195658.D2B293858D34@sourceware.org> (raw)

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


                 reply	other threads:[~2020-06-26 19:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200626195658.D2B293858D34@sourceware.org \
    --to=mpolacek@sourceware.org \
    --cc=gcc-cvs-wwwdocs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).