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