diff options
| author | 2022-10-21 02:34:06 -0400 | |
|---|---|---|
| committer | 2022-10-22 15:02:04 -0400 | |
| commit | cae108404a88a37bd767b46b6162a6e711ee805a (patch) | |
| tree | 31c390395e396f00b42931dd90f170b14457705d /src | |
| parent | decoders: Use 2's complement instead of unary - (diff) | |
| download | yuzu-cae108404a88a37bd767b46b6162a6e711ee805a.tar.gz yuzu-cae108404a88a37bd767b46b6162a6e711ee805a.tar.xz yuzu-cae108404a88a37bd767b46b6162a6e711ee805a.zip | |
CMakeLists: Remove redundant warnings
These warnings are already included in /W3.
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/input_common/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/shader_recompiler/CMakeLists.txt | 2 |
4 files changed, 0 insertions, 12 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 397c1fa23..0bec3c53b 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -60,13 +60,9 @@ if (MSVC) | |||
| 60 | /W3 | 60 | /W3 |
| 61 | /WX | 61 | /WX |
| 62 | 62 | ||
| 63 | /we4018 # 'expression': signed/unsigned mismatch | ||
| 64 | /we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled | 63 | /we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled |
| 65 | /we4101 # 'identifier': unreferenced local variable | ||
| 66 | /we4189 # 'identifier': local variable is initialized but not referenced | 64 | /we4189 # 'identifier': local variable is initialized but not referenced |
| 67 | /we4265 # 'class': class has virtual functions, but destructor is not virtual | 65 | /we4265 # 'class': class has virtual functions, but destructor is not virtual |
| 68 | /we4267 # 'var': conversion from 'size_t' to 'type', possible loss of data | ||
| 69 | /we4305 # 'context': truncation from 'type1' to 'type2' | ||
| 70 | /we4388 # 'expression': signed/unsigned mismatch | 66 | /we4388 # 'expression': signed/unsigned mismatch |
| 71 | /we4389 # 'operator': signed/unsigned mismatch | 67 | /we4389 # 'operator': signed/unsigned mismatch |
| 72 | /we4456 # Declaration of 'identifier' hides previous local declaration | 68 | /we4456 # Declaration of 'identifier' hides previous local declaration |
| @@ -77,9 +73,7 @@ if (MSVC) | |||
| 77 | /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect | 73 | /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect |
| 78 | /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? | 74 | /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? |
| 79 | /we4555 # Expression has no effect; expected expression with side-effect | 75 | /we4555 # Expression has no effect; expected expression with side-effect |
| 80 | /we4715 # 'function': not all control paths return a value | ||
| 81 | /we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior. | 76 | /we4826 # Conversion from 'type1' to 'type2' is sign-extended. This may cause unexpected runtime behavior. |
| 82 | /we4834 # Discarding return value of function with 'nodiscard' attribute | ||
| 83 | /we5038 # data member 'member1' will be initialized after data member 'member2' | 77 | /we5038 # data member 'member1' will be initialized after data member 'member2' |
| 84 | /we5245 # 'function': unreferenced function with internal linkage has been removed | 78 | /we5245 # 'function': unreferenced function with internal linkage has been removed |
| 85 | ) | 79 | ) |
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index 72c406fe1..c0555f840 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt | |||
| @@ -158,8 +158,6 @@ if (MSVC) | |||
| 158 | /W4 | 158 | /W4 |
| 159 | 159 | ||
| 160 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data | 160 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 161 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data | ||
| 162 | /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch | ||
| 163 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 161 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 164 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss | 162 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss |
| 165 | ) | 163 | ) |
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index bff75338e..cc6f0ffc0 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -41,8 +41,6 @@ if (MSVC) | |||
| 41 | /W4 | 41 | /W4 |
| 42 | 42 | ||
| 43 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data | 43 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 44 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data | ||
| 45 | /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch | ||
| 46 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 44 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 47 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss | 45 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss |
| 48 | ) | 46 | ) |
diff --git a/src/shader_recompiler/CMakeLists.txt b/src/shader_recompiler/CMakeLists.txt index bde1c1329..bcdd60db9 100644 --- a/src/shader_recompiler/CMakeLists.txt +++ b/src/shader_recompiler/CMakeLists.txt | |||
| @@ -243,8 +243,6 @@ if (MSVC) | |||
| 243 | /W4 | 243 | /W4 |
| 244 | 244 | ||
| 245 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data | 245 | /we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data |
| 246 | /we4244 # 'argument' : conversion from 'type1' to 'type2', possible loss of data (floating-point) | ||
| 247 | /we4245 # 'conversion' : conversion from 'type1' to 'type2', signed/unsigned mismatch | ||
| 248 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 246 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 249 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss | 247 | /we4800 # Implicit conversion from 'type' to bool. Possible information loss |
| 250 | ) | 248 | ) |