forked from boostorg/config
Merge for 1 84 (#490)
* Update cxxstd values for GHA msvc jobs * Add msvc support for [[maybe_unused]] attribute. Fixes: https://github.com/boostorg/serialization/issues/271 Also removes failing cuda+clang test as it's an inscrutable system setup issue. * Add C++23 header macros. * Minor corrections. * Remove XCode-9.4 testing as it appears to be no longer supported. * Update docs for C++23 macros. [CI SKIP] * Add C++23 feature test macro support. * Use __apple_build_version__ to detect Apple clang …since __APPLE__ is defined by both Apple Clang and LLVM.org Clang on Apple platforms. * Update BOOST_CLANG_VERSION for Xcode 14.3, 15.0, 15.1 * Update CI clang version now that gcc has changed. (#489) --------- Co-authored-by: Peter Dimov <pdimov@gmail.com> Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
This commit is contained in:
202 files changed
+1971
-238
No files matched your search
@@ -2,7 +2,7 @@
|
||||
// Distributed under the Boost Software License, Version 1.0.
|
||||
// https://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
#if !defined(__apple_build_version__)
|
||||
|
||||
# define BOOST_CLANG_VERSION (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__ % 100)
|
||||
|
||||
@@ -11,7 +11,13 @@
|
||||
|
||||
// https://en.wikipedia.org/wiki/Xcode#Toolchain_versions
|
||||
|
||||
# if BOOST_CLANG_REPORTED_VERSION >= 140000
|
||||
# if BOOST_CLANG_REPORTED_VERSION >= 150000
|
||||
# define BOOST_CLANG_VERSION 160000
|
||||
|
||||
# elif BOOST_CLANG_REPORTED_VERSION >= 140003
|
||||
# define BOOST_CLANG_VERSION 150000
|
||||
|
||||
# elif BOOST_CLANG_REPORTED_VERSION >= 140000
|
||||
# define BOOST_CLANG_VERSION 140000
|
||||
|
||||
# elif BOOST_CLANG_REPORTED_VERSION >= 130100
|
||||
|
||||
@@ -305,6 +305,10 @@
|
||||
# define BOOST_CXX_VERSION 201402L
|
||||
#endif
|
||||
|
||||
#if BOOST_CXX_VERSION >= 201703L
|
||||
# define BOOST_ATTRIBUTE_UNUSED [[maybe_unused]]
|
||||
#endif
|
||||
|
||||
#ifndef BOOST_COMPILER
|
||||
// TODO:
|
||||
// these things are mostly bogus. 1200 means version 12.0 of the compiler. The
|
||||
|
||||
Reference in new issue
Block a user