2
0
mirror of https://github.com/boostorg/atomic.git synced 2026-01-19 04:02:09 +00:00

Use a more unique string for type_traits config check.

This avoids the potential clash with another library that could make
a similar check for <type_traits> but require a different set of
type traits. b2 seems to use the string as part of the key in the
config cache, so if the two different config checks have a matching
description string it is unknown which check result is cached and used.
This commit is contained in:
Andrey Semashev
2025-06-19 04:16:55 +03:00
parent e57de610db
commit 8a6de6d93d

View File

@@ -36,7 +36,7 @@ local cxx_requirements = [ requires
cxx11_hdr_chrono
]
[ check-target-builds ../config//has_cxx11_nontrivial_union "has unions with non-trivial members" : : <build>no ]
[ check-target-builds ../config//has_sufficient_cxx11_type_traits "has sufficient <type_traits>" : : <build>no ]
[ check-target-builds ../config//has_sufficient_cxx11_type_traits "has <type_traits> sufficient for Boost.Atomic" : : <build>no ]
;
project