[Dune-devel] parametertree broken
Christian Engwer
christian.engwer at uni-muenster.de
Wed Feb 25 14:08:04 CET 2015
On Wed, Feb 25, 2015 at 11:43:57AM +0100, Christoph Grüninger wrote:
> Hi Christian,
> one of your recent parametertree changes breaks building of
> libdunecommon, see the error below from g++ 5.
ups... I'll have a look
Christian
> Bye
> Christoph
>
> --
> GDB does hate your application, expresses its contempt through the
> design of its command-line interface. -- Tom Tromey, FOSDEM 2014
>
>
> > [ 37%] Building CXX object dune/common/CMakeFiles/dunecommon.dir/parametertree.cc.o
> > In file included from /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.cc:17:0:
> > /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.hh: In static member function ‘static void Dune::ParameterTree::parseRange(const string&, Iterator, const Iterator&)’:
> > /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.hh:222:35: error: invalid use of member ‘Dune::ParameterTree::prefix_’ in static member function
> > << "\" for key \"" << prefix_ << "." << key
> > ^
> > /temp/gruenich/dune/complete/dune-common/dune/common/exceptions.hh:244:58: note: in definition of macro ‘DUNE_THROW’
> > th__out << THROWSPEC(E) << m; th__ex.message(th__out.str()); throw th__ex; \
> > ^
> > In file included from /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.cc:18:0:
> > /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.hh:198:17: note: declared here
> > std::string prefix_;
> > ^
> > In file included from /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.cc:17:0:
> > /temp/gruenich/dune/complete/dune-common/dune/common/parametertree.hh:222:53: error: ‘key’ was not declared in this scope
> > << "\" for key \"" << prefix_ << "." << key
> > ^
> > /temp/gruenich/dune/complete/dune-common/dune/common/exceptions.hh:244:58: note: in definition of macro ‘DUNE_THROW’
> > th__out << THROWSPEC(E) << m; th__ex.message(th__out.str()); throw th__ex; \
> >
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
--
Prof. Dr. Christian Engwer
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster
E-Mail christian.engwer at uni-muenster.de
Telefon +49 251 83-35067
FAX +49 251 83-32729
More information about the Dune-devel
mailing list