]> https://gitweb.dealii.org/ - dealii.git/commit
improve check for CAN_CALL_NONCONSTEXPR 8759/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 16 Sep 2019 13:25:29 +0000 (09:25 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 16 Sep 2019 13:26:20 +0000 (09:26 -0400)
commitf45d01becc002b99a426f953fddb9e5bc59185a6
tree5ed179d08a4be646462c9fff5cc3e6a2640138e2
parentcd62f68e2f549b7ffb19c80d7c91a7f9e2d8e7db
improve check for CAN_CALL_NONCONSTEXPR

On intel 19.0.5, the check
DEAL_II_HAVE_CXX14_CONSTEXPR_CAN_CALL_NONCONSTEXPR passes but
compilation of an assert (and as such a throw call) fails.
Improve the test to catch this.
I can confirm that clang6 still passes this check as before.
fixes  #8758
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.