summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-07-06 20:23:33 +0200
committerGitHub <noreply@github.com>2021-07-06 20:23:33 +0200
commitb07423f6e25b30eac037f2527c2d52e04b8f87c2 (patch)
tree5498cdf8076ea2715ab6efb5ad5bd0cd96945a04 /src
parentMerge pull request #6537 from Morph1984/warnings (diff)
parentCMakeLists: Treat -Wsign-compare as an error on GCC/Clang (diff)
downloadyuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar.gz
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar.bz2
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar.lz
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar.xz
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.tar.zst
yuzu-b07423f6e25b30eac037f2527c2d52e04b8f87c2.zip
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/audio_core/CMakeLists.txt3
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/input_common/CMakeLists.txt3
4 files changed, 1 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 65a4922ea..f8ec8fea8 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -82,6 +82,7 @@ else()
-Werror=missing-declarations
-Werror=missing-field-initializers
-Werror=reorder
+ -Werror=sign-compare
-Werror=switch
-Werror=uninitialized
-Werror=unused-function
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)
target_compile_options(audio_core PRIVATE
-Werror=conversion
-Werror=ignored-qualifiers
- -Werror=implicit-fallthrough
- -Werror=reorder
- -Werror=sign-compare
-Werror=shadow
-Werror=unused-parameter
-Werror=unused-variable
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()
target_compile_options(core PRIVATE
-Werror=conversion
-Werror=ignored-qualifiers
- -Werror=implicit-fallthrough
- -Werror=sign-compare
-Werror=shadow
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
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
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
-Werror=unused-variable