Compiler errors using gcc
temp/fetzer/dumux-30/dumux/test/freeflow/navierstokes/test_closedsystem.cc:135:36: required from here /temp/fetzer/dumux-30/dumux/dumux/common/staggeredfvproblem.hh:176:24: error: expected primary-expression return IntRange(0, numEqCellCenter); ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /temp/fetzer/dumux-30/dumux/dumux/common/staggeredfvproblem.hh: In instantiation of ‘void Dumux::StaggeredFVProblem::applyInititalCellCenterSolution(Dumux::StaggeredFVProblem::SolutionVector&, const SubControlVolume&, const PrimaryVariables&) const [with TypeTag = Dumux::Properties::TTag::ClosedSystemTestProblem; Dumux::StaggeredFVProblem::SolutionVector = 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> > > >; Dumux::StaggeredFVProblem::SubControlVolume = Dumux::CCSubControlVolume<Dumux::Properties::Property<Dumux::Properties::TTag::ClosedSystemTestProblem, Dumux::Properties::TTag::StaggeredModel, Dumux::Properties::PTag::SubControlVolume>::ScvGeometryTraits>; Dumux::StaggeredFVProblem::PrimaryVariables = Dune::FieldVector<double, 3>]’: /temp/fetzer/dumux-30/dumux/dumux/common/staggeredfvproblem.hh:127:17: required from ‘void Dumux::StaggeredFVProblem::applyInitialSolution(Dumux::StaggeredFVProblem::SolutionVector&) const [with TypeTag = Dumux::Properties::TTag::ClosedSystemTestProblem; Dumux::StaggeredFVProblem::SolutionVector = 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> > > >]’ /temp/fetzer/dumux-30/dumux/test/freeflow/navierstokes/test_closedsystem.cc:135:36: required from here /temp/fetzer/dumux-30/dumux/dumux/common/staggeredfvproblem.hh:145:9: error: forming reference to void for(auto&& i : priVarIndices_(cellCenterIdx))