From 8a6de6d93dbe123134deff264851a18d96063764 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 19 Jun 2025 04:16:55 +0300 Subject: [PATCH] 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 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. --- build/Jamfile.v2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index f570533..4ddc2f1 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -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" : : no ] - [ check-target-builds ../config//has_sufficient_cxx11_type_traits "has sufficient " : : no ] + [ check-target-builds ../config//has_sufficient_cxx11_type_traits "has sufficient for Boost.Atomic" : : no ] ; project