mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +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
|
||||
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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user