mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-24 09:13:01 +00:00
Merge pull request #4811 from lioncash/warn-video
video_core: Conditially activate relevant compiler warnings
This commit is contained in:
commit
1fc61d09d3
1 changed files with 4 additions and 2 deletions
|
@ -278,7 +278,9 @@ else()
|
||||||
-Wno-error=sign-conversion
|
-Wno-error=sign-conversion
|
||||||
-Werror=switch
|
-Werror=switch
|
||||||
-Werror=unused-variable
|
-Werror=unused-variable
|
||||||
-Werror=unused-but-set-variable
|
|
||||||
-Werror=class-memaccess
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
|
||||||
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
|
||||||
|
$<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue