Enable -Wnarrowing in Vulkan test suite (#2469)

This commit is contained in:
Ahmed Hesham
2025-07-31 12:24:51 +01:00
committed by GitHub
parent dae998ff9d
commit 430727cc8d

View File

@@ -8,7 +8,6 @@ set(VULKAN_WRAPPER_SOURCES
# needed by Vulkan wrapper to compile # needed by Vulkan wrapper to compile
set(CMAKE_COMPILE_WARNING_AS_ERROR OFF) set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
add_cxx_flag_if_supported(-Wmisleading-indentation) add_cxx_flag_if_supported(-Wmisleading-indentation)
add_cxx_flag_if_supported(-Wno-narrowing)
add_cxx_flag_if_supported(-Wno-format) add_cxx_flag_if_supported(-Wno-format)
add_cxx_flag_if_supported(-Wno-error) add_cxx_flag_if_supported(-Wno-error)
add_cxx_flag_if_supported(-Wno-error=cpp) # Allow #warning directive add_cxx_flag_if_supported(-Wno-error=cpp) # Allow #warning directive