Browse Source
Merge pull request #5353 from ReinUsesLisp/deduplicate-warning-flags
{video_,}core/cmake: Remove Werror flags already defined code-base wide
pull/15/merge
LC
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
4 deletions
-
src/core/CMakeLists.txt
-
src/video_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> |
|
|
|
|
|
|
|
@ -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> |
|
|
|
|