diff options
| author | 2022-10-21 02:34:06 -0400 | |
|---|---|---|
| committer | 2022-10-22 15:02:04 -0400 | |
| commit | 93297d14d8fc5c8f73e8ccba5ca989590a453c05 (patch) | |
| tree | 4b25f5ceda595051501136a7f3000e7ef989e1f1 /src/audio_core | |
| parent | CMakeLists: Consolidate all unused warnings into -Wunused (diff) | |
| download | yuzu-93297d14d8fc5c8f73e8ccba5ca989590a453c05.tar.gz yuzu-93297d14d8fc5c8f73e8ccba5ca989590a453c05.tar.xz yuzu-93297d14d8fc5c8f73e8ccba5ca989590a453c05.zip | |
CMakeLists: Remove all redundant warnings
These are already explicitly or implicitly set in src/CMakeLists.txt
Diffstat (limited to 'src/audio_core')
| -rw-r--r-- | src/audio_core/CMakeLists.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt index 144f1bab2..01b4ffd88 100644 --- a/src/audio_core/CMakeLists.txt +++ b/src/audio_core/CMakeLists.txt | |||
| @@ -206,20 +206,10 @@ if (MSVC) | |||
| 206 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data | 206 | /we4244 # 'conversion': conversion from 'type1' to 'type2', possible loss of data |
| 207 | /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch | 207 | /we4245 # 'conversion': conversion from 'type1' to 'type2', signed/unsigned mismatch |
| 208 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data | 208 | /we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data |
| 209 | /we4456 # Declaration of 'identifier' hides previous local declaration | ||
| 210 | /we4457 # Declaration of 'identifier' hides function parameter | ||
| 211 | /we4458 # Declaration of 'identifier' hides class member | ||
| 212 | /we4459 # Declaration of 'identifier' hides global declaration | ||
| 213 | ) | 209 | ) |
| 214 | else() | 210 | else() |
| 215 | target_compile_options(audio_core PRIVATE | 211 | target_compile_options(audio_core PRIVATE |
| 216 | -Werror=conversion | 212 | -Werror=conversion |
| 217 | -Werror=ignored-qualifiers | ||
| 218 | -Werror=shadow | ||
| 219 | -Werror=unused-variable | ||
| 220 | |||
| 221 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> | ||
| 222 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | ||
| 223 | 213 | ||
| 224 | -Wno-sign-conversion | 214 | -Wno-sign-conversion |
| 225 | ) | 215 | ) |