From: Wolfgang Bangerth <bangerth@colostate.edu>
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 @@
         <acronym>deal.II</acronym> supports at least the following platforms:
     </p>
     <ul>
-        <li>GNU/Linux: GCC version 4.8 or later; Clang version 3.3 or later; ICC versions 15 or later</li>
-        <li>Mac OS X: GCC version 4.8 or later; Clang version 3.3 or later. Please see the <a href="https://github.com/dealii/dealii/wiki/MacOSX" target="_top">deal.II Wiki</a> for installation instructions.</li>
+        <li>GNU/Linux: GCC version 4.9 or later; Clang version 4.0 or later; ICC versions 15 or later</li>
+        <li>Mac OS X: GCC version 4.9 or later; Clang version 4.0 or later. Please see the <a href="https://github.com/dealii/dealii/wiki/MacOSX" target="_top">deal.II Wiki</a> for installation instructions.</li>
         <li>Windows: experimental support for Visual Studio 2017. Please have a look at the
             <a href="https://github.com/dealii/dealii/wiki/Frequently-Asked-Questions#can-i-use-dealii-on-a-windows-platform">
       FAQ</a> and at the <a href="https://github.com/dealii/dealii/wiki/Windows" target="_top">deal.II Wiki</a> for more information and alternative solutions.</li>