Skip to content

Commit e815061

Browse files
author
ripley
committed
updates re C++ standards
git-svn-id: https://svn.r-project.org/R/trunk@89078 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 31d19c3 commit e815061

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/manual/R-admin.texi

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1041,9 +1041,9 @@ C++17 tests, so do this at your own risk as some packages may not compile.
10411041
The @option{-std} flag is supported by the GCC, @command{clang++} and
10421042
Intel compilers. Currently accepted values are (plus some synonyms)
10431043
@example
1044-
g++: c++17 gnu++17 c++2a gnu++2a (from 8)
1045-
c++20 gnu++20 (from 10) c++23 gnu++23 c++2b gnu++2b (from 11)
1046-
c++2c gnu++2c
1044+
g++: c++17 gnu++17 (from 8) c++20 gnu++20 (from 10)
1045+
c++23 gnu++23 c++2b gnu++2b (from 11)
1046+
c++2c gnu++2c c++26 gnu++26 (from 14)
10471047
Intel: c++17 gnu++17 c++20 gnu++20 (from 2021.1)
10481048
c++2b gnu++2b (from 2022.2) c++23 gnu++23 (at least from 2024.0)
10491049
@end example
@@ -1052,8 +1052,7 @@ Intel: c++17 gnu++17 c++20 gnu++20 (from 2021.1)
10521052
@uref{https://clang.llvm.org/cxx_status.html}, and follow @code{g++}:
10531053
@code{-std=c++20} is supported from Clang 10, @code{-std=c++2b} from
10541054
Clang 13 and @code{-std=c++23} and @code{-std=c++2c} from Clang 17.
1055-
Apple Clang supports @code{-std=c++2b} from 13.1.6 and @code{-std=c++23}
1056-
and @code{-std=c++2c} from 16.0.0, @code{-std=c++26} from 17.0.0.)
1055+
Apple Clang supports @code{-std=c++23} and @code{-std=c++26} from 16.0.0.
10571056

10581057
@c c++1y does not pass the configure test in gcc 4.9.3
10591058
@c , with @option{-std=c++1y} (introduced@footnote{See

0 commit comments

Comments
 (0)