From: Timo Heister Date: Mon, 23 Apr 2018 17:45:08 +0000 (-0400) Subject: blacklist MSVC 2015 or older X-Git-Tag: v9.0.0-rc1~132^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F6299%2Fhead;p=dealii.git blacklist MSVC 2015 or older because we can no longer support it --- diff --git a/cmake/setup_compiler_flags_msvc.cmake b/cmake/setup_compiler_flags_msvc.cmake index 99a7c1b0f2..14419f2f56 100644 --- a/cmake/setup_compiler_flags_msvc.cmake +++ b/cmake/setup_compiler_flags_msvc.cmake @@ -27,6 +27,18 @@ # # ######################## +# 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") diff --git a/doc/readme.html b/doc/readme.html index d5d208adbe..4013dca300 100644 --- a/doc/readme.html +++ b/doc/readme.html @@ -72,7 +72,7 @@
  • Mac OS X: GCC version 4.8 or later; Clang version 3.3 or later. Please see the deal.II Wiki for installation instructions.
  • -
  • Windows: experimental support for Visual Studio 2015 and 2017. +
  • Windows: experimental support for Visual Studio 2017. Please have a look at the FAQ and at the