#846 ISTL fails to compile
Metadata
Property | Value |
---|---|
Reported by | Jö Fahlke (jorrit@jorrit.de) |
Reported at | Nov 28, 2010 16:08 |
Type | Bug Report |
Version | 2.0 |
Operating System | Unspecified / All |
Last edited by | Markus Blatt (markus@dr-blatt.de) |
Last edited at | Nov 29, 2010 12:32 |
Closed by | Markus Blatt (markus@dr-blatt.de) |
Closed at | Nov 29, 2010 12:32 |
Closed in version | Unknown |
Resolution | Fixed |
Comment | In rev. 1408 of dune-istl. I was not aware of this bug as I used --without-boost in configure. Sorry! |
Description
Hi!
dune/istl/tutorial/example fails to compile (compilation-log attached). The particular error message is
../../../dune/istl/solvers.hh: In member function ‘void Dune::LoopSolver::apply(X&, X&, Dune::InverseOperatorResult&) [with X = Dune::MultiTypeBlockVector<Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >, Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_>]’: example.cc:594: instantiated from here ../../../dune/istl/solvers.hh:278: error: cannot convert ‘Dune::MultiTypeBlockVector<Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >, Dune::BlockVector<Dune::FieldVector<double, 1>, std::allocator<Dune::FieldVector<double, 1> > >, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_>’ to ‘double’ in initialization
Since tutorial/example is compiled by default, this makes the whole ISTL build fail.