From: Wolfgang Bangerth Date: Thu, 8 Sep 2016 21:27:58 +0000 (-0600) Subject: Disable an assertion in BOOST that GCC 6.x warns about. X-Git-Tag: v8.5.0-rc1~689^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3087%2Fhead;p=dealii.git 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. --- 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