]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Clean up some more C++14 documentation.
authorDavid Wells <drwells@email.unc.edu>
Mon, 25 May 2020 01:12:54 +0000 (21:12 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 25 May 2020 01:12:54 +0000 (21:12 -0400)
cmake/macros/macro_deal_ii_pickup_tests.cmake
cmake/setup_compiler_flags.cmake
cmake/setup_compiler_flags_gnu.cmake
doc/developers/cmake-internals.html

index 3db9b0ca8b8524907c0dae31ae6a0aa901c38176..2345d09577988d58ddbab48800bde80495eb75ae 100644 (file)
@@ -85,7 +85,7 @@ MACRO(DEAL_II_PICKUP_TESTS)
 
   IF(DEAL_II_WITH_CUDA)
     FIND_PACKAGE(CUDA)
-    SET(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -std=c++11 -arch=sm_35 -Xcompiler ${OpenMP_CXX_FLAGS})
+    SET(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -std=c++14 -arch=sm_35 -Xcompiler ${OpenMP_CXX_FLAGS})
   ENDIF()
 
   FIND_PACKAGE(Perl REQUIRED)
index 6079db849044c07701b55ef777adf596e391c658..4234ccb3b248367ea5929aeb4758bbd70db2cc19 100644 (file)
@@ -45,7 +45,7 @@
 #   ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "-fpic")
 #   ENABLE_IF_LINKS(DEAL_II_LINKER_FLAGS "-Wl,--as-needed")
 #
-# Checks for compiler features (such as C++11 support) and compiler
+# Checks for compiler features (such as C++14 support) and compiler
 # specific bugs that
 #   - usually set up further configuration (such as preprocessor
 #     definitions)
index 63aa969d151d52f85e8825a41fc8f16728ba84ff..78a54771d973e3ebfeccd5a2821b1c825cf20495 100644 (file)
@@ -23,7 +23,7 @@
 IF( CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND
     CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9" )
   MESSAGE(WARNING "\n"
-    "deal.II requires support for features of C++11 that are not present in\n"
+    "deal.II requires support for features of C++14 that are not present in\n"
     "versions of GCC prior to 4.9."
     )
 ENDIF()
@@ -31,7 +31,7 @@ ENDIF()
 IF( CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND
     CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.0" )
   MESSAGE(WARNING "\n"
-    "deal.II requires support for features of C++11 that are not present in\n"
+    "deal.II requires support for features of C++14 that are not present in\n"
     "versions of Clang prior to 4.0."
     )
 ENDIF()
index d54354f4ed0c6d31dc158b39c34f2396dfca3777..be102262eec3b4971185e88c6f8172f66bfc4223 100644 (file)
@@ -223,7 +223,7 @@ SET_TARGET_PROPERTIES(${DEAL_II_BASE_NAME}${DEAL_II_${build}_SUFFIX}
     guarded with DEAL_II_ALLOW_PLATFORM_INTROSPECTION
 
 ./cmake/checks/check_01_cxx_features.cmake
-  - Check for supported C++ language features such as sufficient C++11
+  - Check for supported C++ language features such as sufficient C++14
     support
 
 ./cmake/checks/check_02_compiler_features.cmake
@@ -586,7 +586,7 @@ DEAL_II_FORCE_BUNDLED_&lt;FEATURE&gt;        (an option)
 
     <li>
       For internal and external use, for setting necessary compiler flags,
-      e.g. <code>-std=c++11</code> (if available):
+      e.g. <code>-std=c++20</code> (if available):
       <ul>
         <li> <code>DEAL_II_CXX_FLAGS</code>
         <li> <code>DEAL_II_CXX_FLAGS_DEBUG</code>

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.