[Dune] C++14 versus C++11 ?
Christoph GrĂ¼ninger
christoph.grueninger at iws.uni-stuttgart.de
Thu Jul 21 21:12:10 CEST 2016
Hi Benedikt,
it depends on the Dune version you are using. For 2.4.1 you
can specify the C++ version by setting
DISABLE_CXX_VERSION_CHECK
to true and the CMake variable CXX_MAX_SUPPORTED_STANDARD to
11.
For Dune 3.0 we require C++14, at least as much as GCC 4.9
supports. As you are using it, I don't see a way around. You
could start patching the occurrences of C++14 code, but the
number of places will grow. Finally, you'd maintain a fork.
> In paticular, I use trilinos 12.6.3, gcc 6.1.0 and the
> current git version of dune.
>
> Now, it appears that trilinos is overstretched with C++14.
Overstreched sounds bloomy. I think it will be easier to
teach trilinos C++14, espescially as it tries to stay as
compatible as possible.
This might be related:
https://github.com/TriBITSPub/TriBITS/issues/127
Bye
Christoph
--
On the one hand [computer "science"] has components
of the purest of mathematics and on the other hand
of the dirtiest of engineering. -- A. Oettinger 1967
More information about the Dune
mailing list