File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -138,10 +138,13 @@ endif()
138138if (NOT InMV)
139139 if (MSVC )
140140 # Warnings
141- # 4244 = conversion' conversion from 'type1' to 'type2', possible loss of data
142- # 4996 = 'function': was declared deprecated
141+ # 4018 = 'expression' : signed/unsigned mismatch
142+ # 4244 = 'conversion' : conversion from 'type1' to 'type2', possible loss of data
143+ # 4996 = 'function' : was declared deprecated
143144 # 4267 = 'var' : conversion from 'size_t' to 'type', possible loss of data
144- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244 /wd4996 /wd4267" )
145+ # 4305 = 'identifier' : truncation from 'type1' to 'type2'
146+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4018 /wd4244 /wd4996 /wd4267 /wd4305" )
147+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4018 /wd4244 /wd4996 /wd4267 /wd4305" )
145148
146149 # Multithreaded
147150 set (CMAKE_C_FLAGS_RELEASE "/MT" CACHE TYPE INTERNAL FORCE)
You can’t perform that action at this time.
0 commit comments