diff options
| author | 2022-10-21 02:34:06 -0400 | |
|---|---|---|
| committer | 2022-10-22 15:02:04 -0400 | |
| commit | f3c40f4a208117ceb49396a381702b01c40efdb0 (patch) | |
| tree | 9c39b4fbc68bb744aa93194b42492b9f2acec5d7 /src/CMakeLists.txt | |
| parent | general: Enforce C4800 everywhere except in video_core (diff) | |
| download | yuzu-f3c40f4a208117ceb49396a381702b01c40efdb0.tar.gz yuzu-f3c40f4a208117ceb49396a381702b01c40efdb0.tar.xz yuzu-f3c40f4a208117ceb49396a381702b01c40efdb0.zip | |
CMakeLists: Treat MSVC warnings as errors
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index cfd80886c..397c1fa23 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -58,6 +58,8 @@ if (MSVC) | |||
| 58 | 58 | ||
| 59 | # Warnings | 59 | # Warnings |
| 60 | /W3 | 60 | /W3 |
| 61 | /WX | ||
| 62 | |||
| 61 | /we4018 # 'expression': signed/unsigned mismatch | 63 | /we4018 # 'expression': signed/unsigned mismatch |
| 62 | /we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled | 64 | /we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled |
| 63 | /we4101 # 'identifier': unreferenced local variable | 65 | /we4101 # 'identifier': unreferenced local variable |