[MacPorts] CompilerSelection modified

MacPorts Wiki noreply at macports.org
Tue Apr 16 10:31:34 UTC 2024


Page "CompilerSelection" was changed by ryandesign
Diff URL: <https://trac.macports.org/wiki/CompilerSelection?action=diff&version=19>
Revision 19
Comment: Add C++20
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: CompilerSelection
=========================================================================
--- CompilerSelection (version: 18)
+++ CompilerSelection (version: 19)
@@ -2,7 +2,7 @@
 The following most-commonly used Portfile commands will choose a set of appropriate compilers with the required capability for a given OS version:
 ||= Command =||= Description =||= Possible Values =||= Default =||
 || {{{compiler.c_standard}}} || C Standard Required || 1989, 1999, 2011 || 1989 ||
-|| {{{compiler.cxx_standard}}} || C++ Standard Required || 1998, 2011, 2014, 2017 || 1998 ||
+|| {{{compiler.cxx_standard}}} || C++ Standard Required || 1998, 2011, 2014, 2017, 2020 || 1998 ||
 || {{{compiler.thread_local_storage}}}  || Is thread local storage required? || yes or no || no || 
 
 For further details and more related options, please read on.
@@ -57,11 +57,12 @@
 ||= 2017 (C17)   =||    [https://clang.llvm.org/c_status.html#c17 6.0]  ||  1000.11.45.2   ||    10.0    ||    [https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/C-Dialect-Options.html#index-std-1 8.0]    ||
 
 [https://en.cppreference.com/w/cpp/compiler_support C++ Standards supported by Clang, GCC, and Xcode]:
-||=  C++ Standard =||=   Clang   =||=  Xcode Clang  =||=   Xcode   =||=    GCC  =||
-||= 1998 (C++98) =||    [https://clang.llvm.org/cxx_status.html#cxx98 -]     =||=       -      =||=     -    =||=    [https://gcc.gnu.org/projects/cxx-status.html#cxx98 -]      =||
-||= 2011 (C++11) =||    [https://clang.llvm.org/cxx_status.html#cxx11 3.3]    ||   500.2.75    ||    5.0    ||   [https://gcc.gnu.org/projects/cxx-status.html#cxx11 4.8.1]   ||
-||= 2014 (C++14) =||    [https://clang.llvm.org/cxx_status.html#cxx14 3.4]    ||   602.0.49    ||    6.3    ||    [https://gcc.gnu.org/projects/cxx-status.html#cxx14 5]     ||
-||= 2017 (C++17) =||    [https://clang.llvm.org/cxx_status.html#cxx17 5.0]    ||   1000.11.45.2  ||    10.0    ||    [https://gcc.gnu.org/projects/cxx-status.html#cxx17 7]     ||
+||= C++ Standard =||= Clang                                              =||= Xcode Clang  =||= Xcode =||= GCC                                                        =||
+||= 1998 (C++98) =||  [https://clang.llvm.org/cxx_status.html#cxx98 -]    ||  -             ||  -      ||  [https://gcc.gnu.org/projects/cxx-status.html#cxx98 -]      ||
+||= 2011 (C++11) =||  [https://clang.llvm.org/cxx_status.html#cxx11 3.3]  ||  500.2.75      ||  5.0    ||  [https://gcc.gnu.org/projects/cxx-status.html#cxx11 4.8.1]  ||
+||= 2014 (C++14) =||  [https://clang.llvm.org/cxx_status.html#cxx14 3.4]  ||  602.0.49      ||  6.3    ||  [https://gcc.gnu.org/projects/cxx-status.html#cxx14 5]      ||
+||= 2017 (C++17) =||  [https://clang.llvm.org/cxx_status.html#cxx17 5.0]  ||  1000.11.45.2  ||  10.0   ||  [https://gcc.gnu.org/projects/cxx-status.html#cxx17 7]      ||
+||= 2020 (C++20) =||  [https://clang.llvm.org/cxx_status.html#cxx20 16]   ||  1500(?)       ||  15(?)  ||  [https://gcc.gnu.org/projects/cxx-status.html#cxx20 8]      ||
 
 === Parallelism ===
 The compilers provided by Xcode do not support all of the methods of parallelism that ports may require.
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/CompilerSelection>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'CompilerSelection' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list