public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [committed] cxx-status: Update -std= instructions for C++20.
@ 2020-02-21 17:33 Marek Polacek
  0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2020-02-21 17:33 UTC (permalink / raw)
  To: GCC Patches; +Cc: Jason Merrill

We merged support for -std=c++20 to trunk, so -std=c++2a is only
needed in GCC 9 and earlier.
---
 htdocs/projects/cxx-status.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html
index 1b54ea97..47278613 100644
--- a/htdocs/projects/cxx-status.html
+++ b/htdocs/projects/cxx-status.html
@@ -37,7 +37,8 @@
   standard, which is expected to be published in 2020.</p>
 
   <p>C++2a features are available since GCC 8. To enable C++2a
-      support, add the command-line parameter <code>-std=c++2a</code>
+      support, add the command-line parameter <code>-std=c++20</code>
+      (use <code>-std=c++2a</code> in GCC 9 and earlier)
       to your <code>g++</code> command line. Or, to enable GNU
       extensions in addition to C++2a features,
     add <code>-std=gnu++2a</code>.</p>

base-commit: b2543147f043404eb90ebefa744d210fa7ca6566
-- 
Marek Polacek • Red Hat, Inc. • 300 A St, Boston, MA

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-02-21 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 17:33 [committed] cxx-status: Update -std= instructions for C++20 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).