[Dune-devel] parametertree broken

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Wed Feb 25 11:43:57 CET 2015


Hi Christian,
one of your recent parametertree changes breaks building of
libdunecommon, see the error below from g++ 5.

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; \
>      


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20150225/119e5bc4/attachment.sig>


More information about the Dune-devel mailing list