From 0b38910c1d478237e0ce1b71b96b8fb68c103e2a Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 22 Jan 2026 16:42:44 +0300 Subject: [PATCH 1/2] Fix gcc version check for diagnostic pop to match diagnostic push. --- include/boost/uuid/detail/simd_vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/uuid/detail/simd_vector.hpp b/include/boost/uuid/detail/simd_vector.hpp index fde583b2..cda8ff82 100644 --- a/include/boost/uuid/detail/simd_vector.hpp +++ b/include/boost/uuid/detail/simd_vector.hpp @@ -40,7 +40,7 @@ union simd_vector return *reinterpret_cast< const vector_type* >(bytes); } -#if defined(BOOST_GCC) && (BOOST_GCC >= 40800) +#if defined(BOOST_GCC) && (BOOST_GCC >= 40600) #pragma GCC diagnostic pop #endif }; From 16da2030cceda375c80616b386cc5f5ba2b5ac2f Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Thu, 22 Jan 2026 16:43:16 +0300 Subject: [PATCH 2/2] Fix a typo in a comment. --- include/boost/uuid/detail/cstring.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/uuid/detail/cstring.hpp b/include/boost/uuid/detail/cstring.hpp index caec1507..7c6d5ee6 100644 --- a/include/boost/uuid/detail/cstring.hpp +++ b/include/boost/uuid/detail/cstring.hpp @@ -42,7 +42,7 @@ namespace detail { // memcpy // Note: The function below is a template to prevent an early check whether the function body can ever be evaluated in the context of a constant expression. -// It can't, and that causes compilation errors with clang. The function must still be marked as constexpr to be able to call them in other +// It can't, and that causes compilation errors with clang. The function must still be marked as constexpr to be able to call it in other // functions that are constexpr, even if such calls are never evaluated in a constant expression. Otherwise, gcc 5 through 8 gets upset. template< typename = void >