Silencing C4141 warnings that were introduced en masse because __forceinline cannot...
[oota-llvm.git] / cmake / modules / HandleLLVMOptions.cmake
index 405e8ac00daac7aea81b3e763227464b628ce9b1..e0bea6470fb22f56eec2a17881adf343e29187ca 100644 (file)
@@ -281,6 +281,7 @@ if( MSVC )
 
   set(msvc_warning_flags
     # Disabled warnings.
+    -wd4141 # Suppress ''modifier' : used more than once' (because of __forceinline combined with inline)
     -wd4146 # Suppress 'unary minus operator applied to unsigned type, result still unsigned'
     -wd4180 # Suppress 'qualifier applied to function type has no meaning; ignored'
     -wd4244 # Suppress ''argument' : conversion from 'type1' to 'type2', possible loss of data'