aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2021-01-15 01:45:01 -0500
committerGitHub <noreply@github.com>2021-01-15 01:45:01 -0500
commit350af2d34fee8fcd46b992923fc6ee2d2dbba512 (patch)
tree649da14c66e0c4b408be62b63d1369d53ab73ffc /src
parent5681af113188895c7a98c598b35377fcf7753ff3 (diff)
parentd7b2d16fc4201435f13a375dfa561e3bbf54f3a5 (diff)
Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags
{video_,}core/cmake: Remove Werror flags already defined code-base wide
Diffstat (limited to 'src')
-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 1b8ad476e4..99310dc503 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -643,9 +643,7 @@ else()
-Werror=conversion
-Werror=ignored-qualifiers
-Werror=implicit-fallthrough
- -Werror=reorder
-Werror=sign-compare
- -Werror=unused-variable
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index f7b9d7f86c..25a4b1c5b3 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -312,9 +312,7 @@ else()
-Werror=pessimizing-move
-Werror=redundant-move
-Werror=shadow
- -Werror=switch
-Werror=type-limits
- -Werror=unused-variable
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>