diff options
| author | 2023-09-02 21:45:06 +0400 | |
|---|---|---|
| committer | 2023-09-03 18:42:10 +0400 | |
| commit | 785e480b62f4ed306e389300a533c73f4e03e2bd (patch) | |
| tree | 3374c36560b8645f2c0a39e950793e0ce8c5163d /src/shader_recompiler/CMakeLists.txt | |
| parent | Merge pull request #11430 from liamwhite/validation-error-whats-that (diff) | |
| download | yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.gz yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.tar.xz yuzu-785e480b62f4ed306e389300a533c73f4e03e2bd.zip | |
msvc: set warning level to /W4 globally
And fix a bunch of warnings
Diffstat (limited to '')
| -rw-r--r-- | src/shader_recompiler/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/shader_recompiler/CMakeLists.txt b/src/shader_recompiler/CMakeLists.txt index 07e75f9d8..83b763447 100644 --- a/src/shader_recompiler/CMakeLists.txt +++ b/src/shader_recompiler/CMakeLists.txt | |||
| @@ -245,8 +245,6 @@ target_link_libraries(shader_recompiler PUBLIC common fmt::fmt sirit) | |||
| 245 | 245 | ||
| 246 | if (MSVC) | 246 | if (MSVC) |
| 247 | target_compile_options(shader_recompiler PRIVATE | 247 | target_compile_options(shader_recompiler PRIVATE |
| 248 | /W4 | ||
| 249 | |||
| 250 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data | 248 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 251 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 249 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 252 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss | 250 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss |