summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 09:54:22 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 20:20:25 +0200
commit58550cfcdcc288678a84d2ffa2d4856071b2374c (patch)
tree4600ab52ea62556935e239eff914ce3674bdaf6e
parentvideo_core: Enforce C4242 (diff)
downloadyuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar.gz
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar.bz2
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar.lz
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar.xz
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.tar.zst
yuzu-58550cfcdcc288678a84d2ffa2d4856071b2374c.zip
-rw-r--r--src/input_common/CMakeLists.txt16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index 7c5763f9c..c3423c815 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -34,18 +34,10 @@ if (MSVC)
/W4
/WX
- # 'expression' : signed/unsigned mismatch
- /we4018
- # 'argument' : conversion from 'type1' to 'type2', possible loss of data (floating-point)
- /we4244
- # 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
- /we4245
- # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
- /we4254
- # 'var' : conversion from 'size_t' to 'type', possible loss of data
- /we4267
- # 'context' : truncation from 'type1' to 'type2'
- /we4305
+ /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
)
else()
target_compile_options(input_common PRIVATE