[CMake] MSVC is incorrectly emitting C4239 in some cases. Disable it.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 3 Jan 2013 00:00:40 +0000 (00:00 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 3 Jan 2013 00:00:40 +0000 (00:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171430 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index 61e3fb0e85fc53292f95b87b36d13aed1325369b..711fe9673733e6e07e7118a24b23460c7a15028b 100644 (file)
@@ -176,7 +176,6 @@ if( MSVC )
 
     # Promoted warnings to errors.
     -we4238 # Promote 'nonstandard extension used : class rvalue used as lvalue' to error.
-    -we4239 # Promote 'nonstandard extension used : 'token' : conversion from 'type' to 'type'' to error.
     )
 
   # Enable warnings