From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1734) id D2B293858D34; Fri, 26 Jun 2020 19:56:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D2B293858D34 To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 1528c44593180742ab827f9ea66d31e75b803de0 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: b452d150304f6aff6246b27c02dd5f4e9b7b174d X-Git-Newrev: 1528c44593180742ab827f9ea66d31e75b803de0 Message-Id: <20200626195658.D2B293858D34@sourceware.org> Date: Fri, 26 Jun 2020 19:56:58 +0000 (GMT) From: Marek Polacek X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs-wwwdocs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2020 19:56:58 -0000 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 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.

Caveats

    +
  • The default mode for C++ is now -std=gnu++17 instead of + -std=gnu++14.
  • +
  • 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 -dumpbase, @@ -72,6 +75,7 @@ a work-in-progress.

    C++

      +
    • The default mode has been changed to -std=gnu++17.
    • Several C++ Defect Reports have been resolved, e.g.:
      • DR 1512, Pointer comparison vs qualification conversions
      • 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 @@ the library documentation.

        -

        C++17 features are available since GCC 5. To enable C++17 - support, add the command-line parameter -std=c++17 - to your g++ command line. Or, to enable GNU - extensions in addition to C++17 features, - add -std=gnu++17.

        +

        C++17 features are available since GCC 5. This mode is the default + in GCC 11; it can be explicitly selected with the -std=c++17 + command-line flag, or -std=gnu++17 to enable GNU extensions + as well.

        C++17 Language Features

        @@ -902,8 +901,8 @@

        GCC has full support for the previous revision of the C++ standard, which was published in 2014.

        -

        This mode is the default in GCC 6.1 and above; it can be explicitly - selected with the -std=c++14 command-line flag, +

        This mode is the default in GCC 6.1 up until GCC 10 (including); it can + be explicitly selected with the -std=c++14 command-line flag, or -std=gnu++14 to enable GNU extensions as well.

        C++14 Language Features

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