summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-10-30 04:36:44 +0100
committerLioncash <mathew1800@gmail.com>2020-10-30 05:13:26 +0100
commit11d0a6e7b8a31cb266b56f4f2689824d242adfbf (patch)
tree63186ee54ca1efc82655655650602e1d5c01f120 /src
parentGeneral: Make ignoring a discarded return value an error (diff)
downloadyuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar.gz
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar.bz2
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar.lz
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar.xz
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.tar.zst
yuzu-11d0a6e7b8a31cb266b56f4f2689824d242adfbf.zip
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 29c6ffc67..030cce92c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -45,6 +45,10 @@ if (MSVC)
# Warnings
/W3
+ /we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect
+ /we4548 # Expression before comma has no effect; expected expression with side-effect
+ /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'?
+ /we4555 # Expression has no effect; expected expression with side-effect
/we4834 # Discarding return value of function with 'nodiscard' attribute
)