Disabled problematic MSVC warning-to-errors

This commit is contained in:
spectranator
2024-05-07 18:57:50 +02:00
parent 5097c6a0b9
commit 1df1841ad1
8 changed files with 1 additions and 18 deletions

View File

@@ -141,8 +141,6 @@ add_library(hid_core STATIC
if (MSVC)
target_compile_options(hid_core PRIVATE
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
/we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data
/we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
/we4800 # Implicit conversion from 'type' to bool. Possible information loss