diff options
author | Morph <[email protected]> | 2021-05-17 03:46:40 -0400 |
---|---|---|
committer | Morph <[email protected]> | 2021-05-17 03:48:58 -0400 |
commit | d001687ca6fdb9c869167e599f4beca94c8e481a (patch) | |
tree | c2aa03bb1b9e93921b35129cb617b9a36562334a /src/CMakeLists.txt | |
parent | 0a74d8490ad935e6aed68abfd6f994860d3026ce (diff) | |
download | yuzu-mainline-d001687ca6fdb9c869167e599f4beca94c8e481a.tar.gz yuzu-mainline-d001687ca6fdb9c869167e599f4beca94c8e481a.zip |
CMakeLists: Enforce C4715 on MSVC
This is similar to -Werror=return-type
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8bd7e5f72..f30dd49a3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -54,6 +54,7 @@ if (MSVC) /we4547 # 'operator' : operator before comma has no effect; expected operator 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 + /we4715 # 'function': not all control paths return a value /we4834 # Discarding return value of function with 'nodiscard' attribute /we5038 # data member 'member1' will be initialized after data member 'member2' ) |