summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 09:54:37 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-28 20:20:25 +0200
commite828c5a559cda1ac8d6f445d609940cd24c2d137 (patch)
tree3245753f8300f57386b8faae1e26ff8e8a5755e6
parentinput_common: Enforce C4242 (diff)
downloadyuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar.gz
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar.bz2
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar.lz
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar.xz
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.tar.zst
yuzu-e828c5a559cda1ac8d6f445d609940cd24c2d137.zip
-rw-r--r--src/core/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 83b5b7676..19b970981 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -654,17 +654,14 @@ endif()
if (MSVC)
target_compile_options(core PRIVATE
- /we4018 # 'expression' : signed/unsigned mismatch
- /we4244 # 'argument' : conversion from 'type1' to 'type2', possible loss of data (floating-point)
- /we4245 # 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch
+ /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
- /we4267 # 'var' : conversion from 'size_t' to 'type', possible loss of data
- /we4305 # 'context' : truncation from 'type1' to 'type2'
/we4456 # Declaration of 'identifier' hides previous local declaration
/we4457 # Declaration of 'identifier' hides function parameter
/we4458 # Declaration of 'identifier' hides class member
/we4459 # Declaration of 'identifier' hides global declaration
- /we4715 # 'function' : not all control paths return a value
)
else()
target_compile_options(core PRIVATE