Compilation error for 2.5 release due to CMAK_MODULE_PATH hickups
When compiling the 2.5 release branch I get the following errors
In file included from /home/mblatt/src/dune/opm-2.5/dune-common/dune/common/stdstreams.hh:16,
from /home/mblatt/src/dune/opm-2.5/dune-grid/dune/grid/io/file/dgfparser/blocks/basic.hh:12,
from /home/mblatt/src/dune/opm-2.5/dune-grid/dune/grid/io/file/dgfparser/blocks/boundaryseg.hh:13,
from /home/mblatt/src/dune/opm-2.5/dune-grid/dune/grid/io/file/dgfparser/blocks/boundaryseg.cc:5:
/home/mblatt/src/dune/opm-2.5/dune-common/dune/common/debugstream.hh:342:16: error: ISO C++17 does not allow dynamic exception specifications
void pop() throw(DebugStreamError) {
^~~~~
/home/mblatt/src/dune/opm-2.5/dune-common/dune/common/debugstream.hh:374:19: error: ISO C++17 does not allow dynamic exception specifications
void detach() throw(DebugStreamError) {
^~~~~
/home/mblatt/src/dune/opm-2.5/dune-common/dune/common/debugstream.hh:386:36: error: ISO C++17 does not allow dynamic exception specifications
void tie(DebugStreamState& to) throw(DebugStreamError) {
^~~~~
/home/mblatt/src/dune/opm-2.5/dune-common/dune/common/debugstream.hh:400:18: error: ISO C++17 does not allow dynamic exception specifications
void untie() throw(DebugStreamError) {
It seems like for dune-grid we somehow compile with the -std=c++17
while for dune-common we use -std=c++14
. Not sure where and why this hickup happens yet. release 2.4 compiles fine.
Edited by Markus Blatt