From: Daniel Arndt Date: Thu, 3 May 2018 22:44:34 +0000 (+0200) Subject: Fix gcc-8 warnings in bundled boost X-Git-Tag: v9.0.0-rc1~24^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69676b8499d3ba6ec2b193a1e3e383a7bd638e5a;p=dealii.git Fix gcc-8 warnings in bundled boost --- diff --git a/bundled/boost-1.62.0/include/boost/archive/text_oarchive.hpp b/bundled/boost-1.62.0/include/boost/archive/text_oarchive.hpp index 9ba0dafffb..e4c6d4666a 100644 --- a/bundled/boost-1.62.0/include/boost/archive/text_oarchive.hpp +++ b/bundled/boost-1.62.0/include/boost/archive/text_oarchive.hpp @@ -65,10 +65,10 @@ protected: basic_text_oprimitive::save(t); } void save(const version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } void save(const boost::serialization::item_version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } BOOST_ARCHIVE_DECL void save(const char * t); diff --git a/bundled/boost-1.62.0/include/boost/archive/text_woarchive.hpp b/bundled/boost-1.62.0/include/boost/archive/text_woarchive.hpp index b6b4f8ed59..beba62f705 100644 --- a/bundled/boost-1.62.0/include/boost/archive/text_woarchive.hpp +++ b/bundled/boost-1.62.0/include/boost/archive/text_woarchive.hpp @@ -78,10 +78,10 @@ protected: basic_text_oprimitive::save(t); } void save(const version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } void save(const boost::serialization::item_version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } BOOST_WARCHIVE_DECL void save(const char * t); diff --git a/bundled/boost-1.62.0/include/boost/archive/xml_oarchive.hpp b/bundled/boost-1.62.0/include/boost/archive/xml_oarchive.hpp index eea1268037..d0fa8b21f2 100644 --- a/bundled/boost-1.62.0/include/boost/archive/xml_oarchive.hpp +++ b/bundled/boost-1.62.0/include/boost/archive/xml_oarchive.hpp @@ -65,11 +65,11 @@ protected: } void save(const version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } void save(const boost::serialization::item_version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } BOOST_ARCHIVE_DECL void save(const char * t); diff --git a/bundled/boost-1.62.0/include/boost/archive/xml_woarchive.hpp b/bundled/boost-1.62.0/include/boost/archive/xml_woarchive.hpp index cb7ce68cb6..e6ac50de44 100644 --- a/bundled/boost-1.62.0/include/boost/archive/xml_woarchive.hpp +++ b/bundled/boost-1.62.0/include/boost/archive/xml_woarchive.hpp @@ -74,11 +74,11 @@ protected: } void save(const version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } void save(const boost::serialization::item_version_type & t){ - save(static_cast(t)); + save(static_cast(t)); } BOOST_WARCHIVE_DECL void save(const char * t); diff --git a/bundled/boost-1.62.0/include/boost/mpl/assert.hpp b/bundled/boost-1.62.0/include/boost/mpl/assert.hpp index 4d860a4cae..e68ab453fe 100644 --- a/bundled/boost-1.62.0/include/boost/mpl/assert.hpp +++ b/bundled/boost-1.62.0/include/boost/mpl/assert.hpp @@ -185,14 +185,12 @@ template< typename P > struct assert_arg_pred_not }; template< typename Pred > -failed ************ (Pred::************ - assert_arg( void (*)(Pred), typename assert_arg_pred::type ) - ); +failed ************ Pred::************ + assert_arg( void (*)(Pred), typename assert_arg_pred::type ); template< typename Pred > -failed ************ (boost::mpl::not_::************ - assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ) - ); +failed ************ boost::mpl::not_::************ + assert_not_arg( void (*)(Pred), typename assert_arg_pred_not::type ); template< typename Pred > AUX778076_ASSERT_ARG(assert)