Merge pull request #4811 from lioncash/warn-video

video_core: Conditially activate relevant compiler warnings
This commit is contained in:
bunnei 2020-10-20 20:59:37 -07:00 committed by GitHub
commit 1fc61d09d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,9 @@ else()
-Wno-error=sign-conversion
-Werror=switch
-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()