summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6da547a3f..043f27fb1 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -157,6 +157,12 @@ if (MSVC)
157 target_compile_options(common PRIVATE 157 target_compile_options(common PRIVATE
158 /W4 158 /W4
159 /WX 159 /WX
160
161 /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
162 /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data
163 /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch
164 /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
165 /we4800 # Implicit conversion from 'type' to bool. Possible information loss
160 ) 166 )
161else() 167else()
162 target_compile_options(common PRIVATE 168 target_compile_options(common PRIVATE