diff options
| author | 2021-07-06 12:48:49 -0400 | |
|---|---|---|
| committer | 2021-07-06 12:50:09 -0400 | |
| commit | ebb82b0b8394781622afe132a0779dc25995b47b (patch) | |
| tree | 5498cdf8076ea2715ab6efb5ad5bd0cd96945a04 /src/input_common | |
| 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/input_common')
| -rw-r--r-- | src/input_common/CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt index c3423c815..c4283a952 100644 --- a/src/input_common/CMakeLists.txt +++ b/src/input_common/CMakeLists.txt | |||
| @@ -44,10 +44,7 @@ else() | |||
| 44 | -Werror | 44 | -Werror |
| 45 | -Werror=conversion | 45 | -Werror=conversion |
| 46 | -Werror=ignored-qualifiers | 46 | -Werror=ignored-qualifiers |
| 47 | -Werror=implicit-fallthrough | ||
| 48 | -Werror=reorder | ||
| 49 | -Werror=shadow | 47 | -Werror=shadow |
| 50 | -Werror=sign-compare | ||
| 51 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> | 48 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> |
| 52 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> | 49 | $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> |
| 53 | -Werror=unused-variable | 50 | -Werror=unused-variable |