summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-10-20 20:59:37 -0700
committerGravatar GitHub2020-10-20 20:59:37 -0700
commit1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c (patch)
tree46567b067e4ebd7bb03e270bf85d461a3be04694 /src
parentcore: Fix clang build pt.2 (diff)
parentvideo_core: Conditially activate relevant compiler warnings (diff)
downloadyuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.gz
yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.tar.xz
yuzu-1fc61d09d3f03c8a0c502e9ec41d68e3ee1eb46c.zip
Merge pull request #4811 from lioncash/warn-video
video_core: Conditially activate relevant compiler warnings
Diffstat (limited to '')
-rw-r--r--src/video_core/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 3df54816d..77ebac19f 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -278,7 +278,9 @@ else()
278 -Wno-error=sign-conversion 278 -Wno-error=sign-conversion
279 -Werror=switch 279 -Werror=switch
280 -Werror=unused-variable 280 -Werror=unused-variable
281 -Werror=unused-but-set-variable 281
282 -Werror=class-memaccess 282 $<$<CXX_COMPILER_ID:GNU>:-Werror=class-memaccess>
283 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-parameter>
284 $<$<CXX_COMPILER_ID:GNU>:-Werror=unused-but-set-variable>
283 ) 285 )
284endif() 286endif()