[Dune] dune-istl-2.4.1 and boost 1.61

Christian Engwer christian.engwer at uni-muenster.de
Thu Oct 6 20:14:38 CEST 2016


Dear Mladen,

thanks for pointing this out. Which test are you trying to compile?

Best
Christian

On Thu, Oct 06, 2016 at 07:16:45PM +0200, Mladen Jurak wrote:
>  Dear all,
> 
> I would like to signal that dune-istl-2.4.1 does not compile with boost
> library
> version 1.61. With  libboost1.61-dev (on Debian) it gives the following
> compilation error:
> 
> Code/Dune/release-2.4.1/dune-core-src/dune-istl-2.4.1/dune/istl/multitypeblockvector.hh:100:32:
> error: no match for ‘operator=’ (operand types are ‘boost::fusion::void_’
> and ‘const int’)
>        fusion::at_c<count-1>(a) = b; //equalize current elements
>        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
> In file included from
> /usr/include/boost/fusion/support/detail/segmented_fold_until_impl.hpp:18:0,
>                  from /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp:16,
>                  from
> /usr/include/boost/fusion/sequence/intrinsic/detail/segmented_begin.hpp:11,
>                  from
> /usr/include/boost/fusion/sequence/intrinsic/begin.hpp:18,
>                  from
> /usr/include/boost/fusion/sequence/comparison/equal_to.hpp:12,
>                  from /usr/include/boost/fusion/sequence/comparison.hpp:11,
>                  from /usr/include/boost/fusion/sequence.hpp:12,
>                  from /home/jurak/Code/Dune/release-2.4.1/dune-core-src/dune-istl-2.4.1/dune/istl/multitypeblockvector.hh:17,
>                  from /home/jurak/Code/Dune/release-2.4.1/dune-core-src/dune-istl-2.4.1/dune/istl/gsetc.hh:11,
>                  from /home/jurak/Code/Dune/release-2.4.1/dune-core-src/dune-istl-2.4.1/dune/istl/tutorial/example.cc:23:
> /usr/include/boost/fusion/support/void.hpp:12:12: note: candidate: constexpr
> boost::fusion::void_& boost::fusion::void_::operator=(const
> boost::fusion::void_&)
>      struct void_ {};
>             ^~~~~
> /usr/include/boost/fusion/support/void.hpp:12:12: note: no known conversion
> for argument 1 from ‘const int’ to ‘const boost::fusion::void_&’
> /usr/include/boost/fusion/support/void.hpp:12:12: note: candidate: constexpr
> boost::fusion::void_&
> boost::fusion::void_::operator=(boost::fusion::void_&&)
> /usr/include/boost/fusion/support/void.hpp:12:12: note: no known conversion
> for argument 1 from ‘const int’ to ‘boost::fusion::void_&&’
> 
> Regards,
> Mladen
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune




More information about the Dune mailing list