Correct clang-win b2 invocation.

Make <version> always be included when available.
This commit is contained in:
jzmaddock
2022-02-04 09:03:48 +00:00
parent 7861d8a9c6
commit 53c87c192f
2 changed files with 5 additions and 2 deletions

View File

@ -277,10 +277,10 @@ jobs:
run: b2 headers
working-directory: ../boost-root
- 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
- 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
non_intel_ubuntu_20_04_gcc:
runs-on: ubuntu-20.04

View File

@ -1205,6 +1205,9 @@ namespace std{ using ::type_info; }
#ifdef __has_include
#if !__has_include(<version>)
# define BOOST_NO_CXX20_HDR_VERSION
#else
// For convenience, this is always included:
# include <version>
#endif
#else
# define BOOST_NO_CXX20_HDR_VERSION