mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Correct clang-win b2 invocation.
Make <version> always be included when available.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -277,10 +277,10 @@ jobs:
|
|||||||
run: b2 headers
|
run: b2 headers
|
||||||
working-directory: ../boost-root
|
working-directory: ../boost-root
|
||||||
- name: Config info
|
- name: Config info
|
||||||
run: ..\..\..\b2 print_config_info cxxstd=14,17,latest address-model=64 toolset=clang-win
|
run: ..\..\..\b2 print_config_info cxxstd=14,17,latest address-model=64 toolset=clang-win embed-manifest-via=linker
|
||||||
working-directory: ../boost-root/libs/config/test
|
working-directory: ../boost-root/libs/config/test
|
||||||
- name: Test
|
- name: Test
|
||||||
run: ..\..\..\b2 --hash address-model=64 cxxstd=14,17,latest toolset=clang-win
|
run: ..\..\..\b2 --hash address-model=64 cxxstd=14,17,latest toolset=clang-win embed-manifest-via=linker
|
||||||
working-directory: ../boost-root/libs/config/test
|
working-directory: ../boost-root/libs/config/test
|
||||||
non_intel_ubuntu_20_04_gcc:
|
non_intel_ubuntu_20_04_gcc:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@@ -1205,6 +1205,9 @@ namespace std{ using ::type_info; }
|
|||||||
#ifdef __has_include
|
#ifdef __has_include
|
||||||
#if !__has_include(<version>)
|
#if !__has_include(<version>)
|
||||||
# define BOOST_NO_CXX20_HDR_VERSION
|
# define BOOST_NO_CXX20_HDR_VERSION
|
||||||
|
#else
|
||||||
|
// For convenience, this is always included:
|
||||||
|
# include <version>
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
# define BOOST_NO_CXX20_HDR_VERSION
|
# define BOOST_NO_CXX20_HDR_VERSION
|
||||||
|
Reference in New Issue
Block a user