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