From 6ad182edd9c9ecfd7fa79607683ff1c9b05431be Mon Sep 17 00:00:00 2001 From: Scott Mansell Date: Mon, 30 Jan 2023 03:11:51 +1300 Subject: [PATCH] Ignore nullability-completeness warnings in VMA These cause a lot of warnings when compiling with clang. And the example VmaUsage.h appears to disable them --- Source/Core/VideoBackends/Vulkan/VulkanLoader.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/VideoBackends/Vulkan/VulkanLoader.h b/Source/Core/VideoBackends/Vulkan/VulkanLoader.h index c9b92f5ac8..652b512dd4 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanLoader.h +++ b/Source/Core/VideoBackends/Vulkan/VulkanLoader.h @@ -48,6 +48,7 @@ #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-variable" +#pragma clang diagnostic ignored "-Wnullability-completeness" #endif // #ifdef __clang__ #ifdef __GNUC__