From 15177d705250c6d552430516c5b0b2d9fe4f3bfa Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 8 Sep 2016 15:27:58 -0600 Subject: [PATCH] Disable an assertion in BOOST that GCC 6.x warns about. GCC says that the compiler can assume that the address of the object that a reference points to must be nonzero. That's correct. But the warning happens many times during a build. Since this is more of a sanity check for what the BOOST people are doing internally, I think there is little harm in just removing the assertion -- we don't change the BOOST code anyway. --- .../include/boost/archive/detail/basic_serializer.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/bundled/boost-1.56.0/include/boost/archive/detail/basic_serializer.hpp b/bundled/boost-1.56.0/include/boost/archive/detail/basic_serializer.hpp index c7d3b4befc..29c029053b 100644 --- a/bundled/boost-1.56.0/include/boost/archive/detail/basic_serializer.hpp +++ b/bundled/boost-1.56.0/include/boost/archive/detail/basic_serializer.hpp @@ -42,7 +42,6 @@ protected: ) : m_eti(& eti) { - BOOST_ASSERT(NULL != & eti); } public: inline bool -- 2.39.5