mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 08:20:09 +00:00
video_core: Treat implicit conversions as errors
This commit is contained in:
parent
096f339a2a
commit
18c1cb68fd
@ -180,3 +180,9 @@ target_link_libraries(video_core PRIVATE glad)
|
|||||||
if (ENABLE_VULKAN)
|
if (ENABLE_VULKAN)
|
||||||
target_link_libraries(video_core PRIVATE sirit)
|
target_link_libraries(video_core PRIVATE sirit)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if (MSVC)
|
||||||
|
target_compile_options(video_core PRIVATE /we4267)
|
||||||
|
else()
|
||||||
|
target_compile_options(video_core PRIVATE -Werror=conversion -Wno-sign-conversion)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user