From 1f7fb190027dc9dedd47fee29adabcc17b1fc480 Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Tue, 5 Sep 2023 21:01:17 -0500 Subject: [PATCH] Change the __GNUC__ >= 11 && __GNUC_MINOR__ >= 3 expression in one of the tests to __GNUC__ == 11 && ...; the workaround is not needed for GCC 12. --- test/random_access.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/random_access.cpp b/test/random_access.cpp index 3d3a90f..71ae0d4 100644 --- a/test/random_access.cpp +++ b/test/random_access.cpp @@ -976,7 +976,7 @@ int main() // GCC's std::to_address() breaks the contiguous_iterator concept. // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 #if !BOOST_STL_INTERFACES_USE_CONCEPTS || \ - defined(__GNUC__) && __GNUC__ >= 11 && __GNUC_MINOR__ >= 3 + defined(__GNUC__) && __GNUC__ == 11 && __GNUC_MINOR__ >= 3 // data { BOOST_TEST(r.data() != nullptr);