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 > 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 };