summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar LC2021-01-15 01:45:01 -0500
committerGravatar GitHub2021-01-15 01:45:01 -0500
commit7f37822c744f245887ab3d1b5a1db4e6ecf76f7a (patch)
tree649da14c66e0c4b408be62b63d1369d53ab73ffc
parentMerge pull request #5351 from ReinUsesLisp/vc-unused-functions (diff)
parentcore/cmake: Remove Werror flags already defined code-base wide (diff)
downloadyuzu-7f37822c744f245887ab3d1b5a1db4e6ecf76f7a.tar.gz
yuzu-7f37822c744f245887ab3d1b5a1db4e6ecf76f7a.tar.xz
yuzu-7f37822c744f245887ab3d1b5a1db4e6ecf76f7a.zip
Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags
{video_,}core/cmake: Remove Werror flags already defined code-base wide
-rw-r--r--src/core/CMakeLists.txt2
-rw-r--r--src/video_core/CMakeLists.txt2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 1b8ad476e..99310dc50 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -643,9 +643,7 @@ else()
643 -Werror=conversion 643 -Werror=conversion
644 -Werror=ignored-qualifiers 644 -Werror=ignored-qualifiers
645 -Werror=implicit-fallthrough 645 -Werror=implicit-fallthrough
646 -Werror=reorder
647 -Werror=sign-compare 646 -Werror=sign-compare
648 -Werror=unused-variable
649 647
650 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> 648 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
651 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable> 649 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index f7b9d7f86..25a4b1c5b 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -312,9 +312,7 @@ else()
312 -Werror=pessimizing-move 312 -Werror=pessimizing-move
313 -Werror=redundant-move 313 -Werror=redundant-move
314 -Werror=shadow 314 -Werror=shadow
315 -Werror=switch
316 -Werror=type-limits 315 -Werror=type-limits
317 -Werror=unused-variable
318 316
319 $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess> 317 $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
320 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter> 318 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>