From ebb82b0b8394781622afe132a0779dc25995b47b Mon Sep 17 00:00:00 2001 From: Morph <39850852+Morph1984@users.noreply.github.com> Date: Tue, 6 Jul 2021 12:48:49 -0400 Subject: CMakeLists: Treat -Wsign-compare as an error on GCC/Clang Treats (un)signed comparison mismatches as errors to be consistent with MSVC --- src/input_common/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/input_common') 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() -Werror -Werror=conversion -Werror=ignored-qualifiers - -Werror=implicit-fallthrough - -Werror=reorder -Werror=shadow - -Werror=sign-compare $<$:-Werror=unused-but-set-parameter> $<$:-Werror=unused-but-set-variable> -Werror=unused-variable -- cgit v1.2.3