From 349737c6a94a4628c262776b0b8a08bf24d46363 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Fri, 24 Jan 2025 12:49:48 +0100 Subject: [PATCH] QRhiVulkan: disable -Wundef when including 3rd party headers The header is -Wundef-unclean. Change-Id: I30145f331ee1062961abaed14c7b79b84755abb9 Pick-to: 6.9 6.8 Reviewed-by: Laszlo Agocs --- src/gui/rhi/qrhivulkan.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/rhi/qrhivulkan.cpp b/src/gui/rhi/qrhivulkan.cpp index 9f7e0fc9d06..ec82aecdfa4 100644 --- a/src/gui/rhi/qrhivulkan.cpp +++ b/src/gui/rhi/qrhivulkan.cpp @@ -14,6 +14,8 @@ #endif QT_WARNING_PUSH QT_WARNING_DISABLE_GCC("-Wsuggest-override") +QT_WARNING_DISABLE_GCC("-Wundef") +QT_WARNING_DISABLE_CLANG("-Wundef") #if defined(Q_CC_CLANG) && Q_CC_CLANG >= 1100 QT_WARNING_DISABLE_CLANG("-Wdeprecated-copy") #endif