]> https://gitweb.dealii.org/ - dealii.git/commitdiff
address comment 9673/head
authorTimo Heister <timo.heister@gmail.com>
Tue, 17 Mar 2020 18:27:10 +0000 (14:27 -0400)
committerTimo Heister <timo.heister@gmail.com>
Tue, 17 Mar 2020 18:27:10 +0000 (14:27 -0400)
cmake/checks/check_01_cxx_features.cmake

index a723c66d37f4969f1cb8a1a68dc7ae92ea848593..17aeeae4bc4239349a021dda8811b5f96e038da4 100644 (file)
@@ -731,14 +731,15 @@ CHECK_CXX_SOURCE_COMPILES(
 # expression, C++14 allows to call non-constexpr functions from constexpr
 # functions.
 #
-# Only run this check if we have CXX14 support, otherwise the use of constexpr
-# is limited (non-const constexp functions for example).
-#
 # Unfortunately, not all compilers obey the standard in this regard. In some
 # cases, MSVC 2019 crashes with an internal compiler error when we
 # declare the respective functions as 'constexpr' even though the test below
 # passes, see #9080.
 #
+# We only run this check if we have CXX14 support, otherwise the use of constexpr
+# is limited (non-const constexpr functions for example).
+#
+#
 IF(DEAL_II_WITH_CXX14 AND NOT CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
   CHECK_CXX_SOURCE_COMPILES(
     "

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.