From 2e707ca921db5f9530107fb10e8efe99fd5bd430 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 14 Jun 2021 02:50:31 +0300 Subject: [PATCH] Disable -Wstrict-aliasing on g++ 6, really --- include/boost/system/detail/error_code.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/system/detail/error_code.hpp b/include/boost/system/detail/error_code.hpp index 18076cf..f92c5d7 100644 --- a/include/boost/system/detail/error_code.hpp +++ b/include/boost/system/detail/error_code.hpp @@ -29,7 +29,7 @@ # include #endif -#if defined(BOOST_GCC) && BOOST_GCC < 60000 +#if defined(BOOST_GCC) && BOOST_GCC < 70000 # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif