[llvm] 4db89e2 - [cmake] Increase -fms-compatibility-version in Windows toolchain file
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 3 13:42:02 PST 2022
Author: Shoaib Meenai
Date: 2022-02-03T13:41:46-08:00
New Revision: 4db89e23190d1d1590d88df08056d327e651c94c
URL: https://github.com/llvm/llvm-project/commit/4db89e23190d1d1590d88df08056d327e651c94c
DIFF: https://github.com/llvm/llvm-project/commit/4db89e23190d1d1590d88df08056d327e651c94c.diff
LOG: [cmake] Increase -fms-compatibility-version in Windows toolchain file
Make it match LLVM's new minimum requirement (after https://reviews.llvm.org/D114639).
Added:
Modified:
llvm/cmake/platforms/WinMsvc.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/platforms/WinMsvc.cmake b/llvm/cmake/platforms/WinMsvc.cmake
index d30701a318584..ebb4da419e46a 100644
--- a/llvm/cmake/platforms/WinMsvc.cmake
+++ b/llvm/cmake/platforms/WinMsvc.cmake
@@ -259,7 +259,7 @@ set(CROSS_TOOLCHAIN_FLAGS_NATIVE "${_CTF_NATIVE_DEFAULT}" CACHE STRING "")
set(COMPILE_FLAGS
-D_CRT_SECURE_NO_WARNINGS
--target=${TRIPLE_ARCH}-windows-msvc
- -fms-compatibility-version=19.14
+ -fms-compatibility-version=19.20
-imsvc "${ATLMFC_INCLUDE}"
-imsvc "${MSVC_INCLUDE}"
-imsvc "${WINSDK_INCLUDE}/ucrt"
More information about the llvm-commits
mailing list