]> https://gitweb.dealii.org/ - dealii.git/commit
Always add the user version flag. 4129/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 28 Mar 2017 16:16:18 +0000 (12:16 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 28 Mar 2017 16:16:18 +0000 (12:16 -0400)
commit11512bb1d0dc8b470423511398c4b54e670d8567
treea0f1a8d1e9d6d7a3de40900c3acd4b6e1532a01c
parentd8d09e7928dcc438a1f3a2f49587ed64723361ca
Always add the user version flag.

This gets around a bug where, if a user requests '-std=c++03' and is using a
compiler which defaults to C++11 or newer (e.g., GCC 6) then the library is
compiled with the default language flag (e.g., gnu++14) but
DEAL_II_WITH_CXX11=OFF: this causes compilation errors with boost::optional.
cmake/checks/check_01_cxx_features.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.