[Dune] dune-istl-2.4.1 and boost 1.61
Mladen Jurak
jurak at math.hr
Fri Oct 7 09:48:32 CEST 2016
Dear Christoph,
thanks for the answer. I downgraded the Boost to 1.58.
Regards,
Mladen
On 10/06/2016 11:42 PM, Christoph Grüninger wrote:
> 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
--
Mladen Jurak
Department of Mathematics
Faculty of Science
University of Zagreb
Bijenicka 30
10000 Zagreb
Croatia
Tel: +385 (0)1 460 5738
Fax: +385 (0)1 468 0335
E-mail: jurak at math.hr <mailto:jurak at math.hr>
Web: http://web.math.hr/~jurak <http://web.math.hr/%7Ejurak>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20161007/54c59360/attachment.htm>
More information about the Dune
mailing list