2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

video_core: Enable sign conversion warnings

Enable sign conversion warnings but don't treat them as errors.
This commit is contained in:
Rodrigo Locatti 2019-11-11 18:00:37 -03:00 committed by GitHub
parent 18c1cb68fd
commit fb9418798d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,5 +184,5 @@ endif()
if (MSVC) if (MSVC)
target_compile_options(video_core PRIVATE /we4267) target_compile_options(video_core PRIVATE /we4267)
else() else()
target_compile_options(video_core PRIVATE -Werror=conversion -Wno-sign-conversion) target_compile_options(video_core PRIVATE -Werror=conversion -Wno-error=sign-conversion)
endif() endif()