From: Daniel Arndt Date: Mon, 24 Apr 2017 22:29:49 +0000 (+0200) Subject: Fix compilation with BOOST 1.64 X-Git-Tag: v9.0.0-rc1~1654^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c874026deeb51c613e0418d37679fdf6b27c3e0;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 9f3c431e43..c2253221e3 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -22,7 +22,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 609207b07e..380954c434 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 f8d9b29aeb..369a58c554 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 d5bf2b678c..7f6431c34e 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