QRhiVulkan: disable -Wundef when including 3rd party headers
The header is -Wundef-unclean. Change-Id: I30145f331ee1062961abaed14c7b79b84755abb9 Pick-to: 6.8 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io> (cherry picked from commit 349737c6a94a4628c262776b0b8a08bf24d46363) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
0f744e6b2b
commit
cbdd2d7353
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user