From: Daniel Arndt Date: Mon, 24 Apr 2017 22:29:49 +0000 (+0200) Subject: Fix compilation with BOOST 1.64 X-Git-Tag: v8.5.1~4^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51e9278274e43d813cc338510575b3d4589b415e;p=dealii.git Fix compilation with BOOST 1.64 --- diff --git a/include/deal.II/base/aligned_vector.h b/include/deal.II/base/aligned_vector.h index b8c52c0699..9ba473de83 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -23,7 +23,15 @@ #include #include #include -#include + +// boost::serialization::make_array used to be in array.hpp, but was +// moved to a different file in BOOST 1.64 +#include +#if BOOST_VERSION >= 106400 +# include +#else +# include +#endif #include #include diff --git a/include/deal.II/lac/la_vector.h b/include/deal.II/lac/la_vector.h index 18dbcf5d02..10927eb0a5 100644 --- a/include/deal.II/lac/la_vector.h +++ b/include/deal.II/lac/la_vector.h @@ -24,7 +24,15 @@ #include #include #include -#include + +// boost::serialization::make_array used to be in array.hpp, but was +// moved to a different file in BOOST 1.64 +#include +#if BOOST_VERSION >= 106400 +# include +#else +# include +#endif #include #include diff --git a/include/deal.II/lac/sparsity_pattern.h b/include/deal.II/lac/sparsity_pattern.h index 2db0dd3009..8a77764ed2 100644 --- a/include/deal.II/lac/sparsity_pattern.h +++ b/include/deal.II/lac/sparsity_pattern.h @@ -20,11 +20,20 @@ #include #include #include -#include + +// boost::serialization::make_array used to be in array.hpp, but was +// moved to a different file in BOOST 1.64 +#include +#if BOOST_VERSION >= 106400 +# include +#else +# include +#endif #include #include #include +#include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/lac/vector.h b/include/deal.II/lac/vector.h index 4c63d2aa68..79e56bb7a2 100644 --- a/include/deal.II/lac/vector.h +++ b/include/deal.II/lac/vector.h @@ -23,7 +23,15 @@ #include #include #include -#include + +// boost::serialization::make_array used to be in array.hpp, but was +// moved to a different file in BOOST 1.64 +#include +#if BOOST_VERSION >= 106400 +# include +#else +# include +#endif #include #include