From: Wolfgang Bangerth
Date: Sat, 4 Apr 2020 17:36:06 +0000 (-0600)
Subject: Require gcc 4.9 and clang 4.0.
X-Git-Tag: v9.2.0-rc1~268^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eca1d44f73f8a52d8d72d9131b40821f21fd05f3;p=dealii.git
Require gcc 4.9 and clang 4.0.
---
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:
- - GNU/Linux: GCC version 4.8 or later; Clang version 3.3 or later; ICC versions 15 or later
- - Mac OS X: GCC version 4.8 or later; Clang version 3.3 or later. Please see the deal.II Wiki for installation instructions.
+ - GNU/Linux: GCC version 4.9 or later; Clang version 4.0 or later; ICC versions 15 or later
+ - Mac OS X: GCC version 4.9 or later; Clang version 4.0 or later. Please see the deal.II Wiki for installation instructions.
- Windows: experimental support for Visual Studio 2017. Please have a look at the
FAQ and at the deal.II Wiki for more information and alternative solutions.