[Dune] dune-istl-2.4.1 and boost 1.61

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Thu Oct 6 23:42:55 CEST 2016


Hi Mladen,
thats
 Is a known issue. Elias already provided a patch to disable the example when Boost 1.61 or newer is found. It is part of the 2.4 branch but came after 2.4.1.

You can
- remove the line from the CMakeLists.txt which builds the example
- disable Boost with -DCMAKE_DISABLE_FIND_PACKAGE_BOOST=true
- switch to the 2.4 branch

Bye
Christoph

> Am 06.10.2016 um 19:16 schrieb Mladen Jurak <jurak at math.hr>:
> 
> 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