]> https://gitweb.dealii.org/ - dealii.git/commitdiff
blacklist MSVC 2015 or older 6299/head
authorTimo Heister <timo.heister@gmail.com>
Mon, 23 Apr 2018 17:45:08 +0000 (13:45 -0400)
committerTimo Heister <timo.heister@gmail.com>
Mon, 23 Apr 2018 19:55:57 +0000 (15:55 -0400)
because we can no longer support it

cmake/setup_compiler_flags_msvc.cmake
doc/readme.html

index 99a7c1b0f2e7e17551c3486c1dddfd4375aa0c37..14419f2f5623ce4244e691fa3ce26c5b76e8fd3a 100644 (file)
 #                      #
 ########################
 
+# Notice how intelligent the version numbering of "Microsoft Visual Studio 2017
+# version 15.0" is, the c++ compiler is advertised as "MSVC++ 14.1" but the
+# version information is 19.10.x (this is the numbering used by CMake), see
+# https://en.wikipedia.org/wiki/Microsoft_Visual_C%2B%2B#Internal_version_numbering
+IF(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "19.10" )
+  MESSAGE(FATAL_ERROR "\n"
+    "You're using an old version of the Visual Studio C++ Compiler!\n"
+    "You need at least version Visual Studio 2017.\n"
+    )
+ENDIF()
+
+
 # enable exception handling:
 ENABLE_IF_SUPPORTED(DEAL_II_CXX_FLAGS "/EHsc")
 
index d5d208adbe7fe7215484f8b078729c1dd9af4524..4013dca30013f3fe19623421837ce6471163a74c 100644 (file)
@@ -72,7 +72,7 @@
   <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>Windows: experimental support for Visual Studio 2015 and 2017.
+  <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"

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.