From 69676b8499d3ba6ec2b193a1e3e383a7bd638e5a Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 4 May 2018 00:44:34 +0200 Subject: [PATCH] Fix gcc-8 warnings in bundled boost --- .../include/boost/archive/text_oarchive.hpp | 4 ++-- .../include/boost/archive/text_woarchive.hpp | 4 ++-- .../include/boost/archive/xml_oarchive.hpp | 4 ++-- .../include/boost/archive/xml_woarchive.hpp | 4 ++-- bundled/boost-1.62.0/include/boost/mpl/assert.hpp | 10 ++++------ 5 files changed, 12 insertions(+), 14 deletions(-) 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) -- 2.39.5