summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorJanne Koskinen <janne.p.koskinen@qt.io>2021-05-19 15:52:25 +0300
committerJanne Koskinen <janne.p.koskinen@qt.io>2021-05-24 10:18:25 +0300
commitbd31bb416695c210e85fe6e7a634a152d1ba9bd2 (patch)
treefaf99b58d2f98601b7c0cd45d300ec17e03ced31 /src/corelib/global
parent0fecaaec54977db80f67e6f0e18b237da27cdbfb (diff)
Fix compilation for other compilers
Fixes property offset macro compilation issues. Change-Id: I401a9a35acd1d389c670960edb363a4d919cdb76 Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qcompilerdetection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h
index cc48355ff0..584f1f79b9 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