[PATCH] D41157: [cmake] Explicitly set VS 2017 compatibility
    Shoaib Meenai via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Dec 13 13:13:23 PST 2017
    
    
  
This revision was automatically updated to reflect the committed changes.
Closed by commit rL320616: [cmake] Explicitly set VS 2017 compatibility (authored by smeenai, committed by ).
Repository:
  rL LLVM
https://reviews.llvm.org/D41157
Files:
  llvm/trunk/cmake/platforms/WinMsvc.cmake
Index: llvm/trunk/cmake/platforms/WinMsvc.cmake
===================================================================
--- llvm/trunk/cmake/platforms/WinMsvc.cmake
+++ llvm/trunk/cmake/platforms/WinMsvc.cmake
@@ -164,6 +164,7 @@
 
 set(COMPILE_FLAGS
     -D_CRT_SECURE_NO_WARNINGS
+    -fms-compatibility-version=19.11
     -imsvc "${MSVC_INCLUDE}"
     -imsvc "${WINSDK_INCLUDE}/ucrt"
     -imsvc "${WINSDK_INCLUDE}/shared"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41157.126822.patch
Type: text/x-patch
Size: 422 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171213/d4cfab35/attachment.bin>
    
    
More information about the llvm-commits
mailing list