[Dune] C++14 versus C++11 ?

Benedikt Oswald benedikt.oswald at lspr.swiss
Fri Jul 22 18:22:58 CEST 2016


Hello Christoph, thanks for the answer and the hints. Greetings, Benedikt



Am 21/07/16 um 21:12 schrieb Christoph Grüninger:
> 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
>

-- 
------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41 43 366 90 74
Grubenstrasse 9, CH-8045 Zürich, benedikt.oswald at lspr.ch - labor vincit omnia improbus
------------------------------------------------------------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 882 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20160722/54682e82/attachment.sig>


More information about the Dune mailing list