From eca1d44f73f8a52d8d72d9131b40821f21fd05f3 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 4 Apr 2020 11:36:06 -0600 Subject: [PATCH] Require gcc 4.9 and clang 4.0. --- cmake/setup_compiler_flags_gnu.cmake | 12 ++++++++++-- doc/readme.html | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cmake/setup_compiler_flags_gnu.cmake b/cmake/setup_compiler_flags_gnu.cmake index f532fb8958..547301bb2d 100644 --- a/cmake/setup_compiler_flags_gnu.cmake +++ b/cmake/setup_compiler_flags_gnu.cmake @@ -21,10 +21,18 @@ # IF( CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND - CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.8" ) + 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" - "versions of GCC prior to 4.8." + "versions of GCC prior to 4.9." + ) +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" + "versions of Clang prior to 4.0." ) ENDIF() diff --git a/doc/readme.html b/doc/readme.html index c620ae0216..4abf18b5af 100644 --- a/doc/readme.html +++ b/doc/readme.html @@ -62,8 +62,8 @@ deal.II supports at least the following platforms: