1
1
Fork 0
forked from suyu/suyu

video_core: Treat implicit conversions as errors

This commit is contained in:
ReinUsesLisp 2019-11-08 17:14:21 -03:00
parent 096f339a2a
commit 18c1cb68fd

View file

@ -180,3 +180,9 @@ target_link_libraries(video_core PRIVATE glad)
if (ENABLE_VULKAN)
target_link_libraries(video_core PRIVATE sirit)
endif()
if (MSVC)
target_compile_options(video_core PRIVATE /we4267)
else()
target_compile_options(video_core PRIVATE -Werror=conversion -Wno-sign-conversion)
endif()