From bd31bb416695c210e85fe6e7a634a152d1ba9bd2 Mon Sep 17 00:00:00 2001 From: Janne Koskinen Date: Wed, 19 May 2021 15:52:25 +0300 Subject: [PATCH] Fix compilation for other compilers Fixes property offset macro compilation issues. Change-Id: I401a9a35acd1d389c670960edb363a4d919cdb76 Reviewed-by: Kimmo Ollila Reviewed-by: Thiago Macieira --- src/corelib/global/qcompilerdetection.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index cc48355ff08..584f1f79b94 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -1310,6 +1310,7 @@ # define QT_WARNING_DISABLE_GCC(text) # define QT_WARNING_DISABLE_DEPRECATED # define QT_WARNING_DISABLE_FLOAT_COMPARE +# define QT_WARNING_DISABLE_INVALID_OFFSETOF #endif #ifndef QT_IGNORE_DEPRECATIONS