We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e87a7 commit 4c6e13fCopy full SHA for 4c6e13f
flang/CMakeLists.txt
@@ -66,6 +66,13 @@ if (MSVC AND CMAKE_CXX_COMPILER_ID MATCHES Clang)
66
if (IS_DIRECTORY "${LIBDIR}")
67
link_libraries(${CLANG_RT_BUILTINS_LIBRARY})
68
endif()
69
+
70
+ if (MSVC_VERSION EQUAL 1942)
71
+ message(FATAL_ERROR "Flang cannot be built with clang and the MSVC 17.12 "
72
+ "toolchain version. Please upgrade to 17.13 or later, or switch "
73
+ "to the 17.10 LTSC release. "
74
+ "See https://github.com/microsoft/STL/issues/4959 for more details.")
75
+ endif()
76
77
78
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
0 commit comments