diff options
| author | 2021-07-06 12:48:49 -0400 | |
|---|---|---|
| committer | 2021-07-06 12:50:09 -0400 | |
| commit | ebb82b0b8394781622afe132a0779dc25995b47b (patch) | |
| tree | 5498cdf8076ea2715ab6efb5ad5bd0cd96945a04 /src/audio_core | |
| parent | Merge pull request #6537 from Morph1984/warnings (diff) | |
| download | yuzu-ebb82b0b8394781622afe132a0779dc25995b47b.tar.gz yuzu-ebb82b0b8394781622afe132a0779dc25995b47b.tar.xz yuzu-ebb82b0b8394781622afe132a0779dc25995b47b.zip | |
CMakeLists: Treat -Wsign-compare as an error on GCC/Clang
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
Diffstat (limited to 'src/audio_core')
| -rw-r--r-- | src/audio_core/CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt index d25a1a645..090dd19b1 100644 --- a/src/audio_core/CMakeLists.txt +++ b/src/audio_core/CMakeLists.txt | |||
| @@ -51,9 +51,6 @@ if (NOT MSVC) | |||
| 51 | target_compile_options(audio_core PRIVATE | 51 | target_compile_options(audio_core PRIVATE |
| 52 | -Werror=conversion | 52 | -Werror=conversion |
| 53 | -Werror=ignored-qualifiers | 53 | -Werror=ignored-qualifiers |
| 54 | -Werror=implicit-fallthrough | ||
| 55 | -Werror=reorder | ||
| 56 | -Werror=sign-compare | ||
| 57 | -Werror=shadow | 54 | -Werror=shadow |
| 58 | -Werror=unused-parameter | 55 | -Werror=unused-parameter |
| 59 | -Werror=unused-variable | 56 | -Werror=unused-variable |