diff options
| author | 2021-07-06 12:48:49 -0400 | |
|---|---|---|
| committer | 2021-07-06 12:50:09 -0400 | |
| commit | ebb82b0b8394781622afe132a0779dc25995b47b (patch) | |
| tree | 5498cdf8076ea2715ab6efb5ad5bd0cd96945a04 /src/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/core')
| -rw-r--r-- | src/core/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 19b970981..b2b0dbe05 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt | |||
| @@ -667,8 +667,6 @@ else() | |||
| 667 | target_compile_options(core PRIVATE | 667 | target_compile_options(core PRIVATE |
| 668 | -Werror=conversion | 668 | -Werror=conversion |
| 669 | -Werror=ignored-qualifiers | 669 | -Werror=ignored-qualifiers |
| 670 | -Werror=implicit-fallthrough | ||
| 671 | -Werror=sign-compare | ||
| 672 | -Werror=shadow | 670 | -Werror=shadow |
| 673 | 671 | ||
| 674 | $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> | 672 | $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> |