diff options
author | Jake Petroules <jake.petroules@qt.io> | 2016-08-23 14:36:33 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2016-09-16 16:32:10 +0000 |
commit | 3fb5cf4e2e466cf1ef21431c7ce462ed304bd3ca (patch) | |
tree | b2bd5d5d769aea96aaae4aac2a82a6981b90da7d | |
parent | 70733640ccdd61b48ae3141880d05b28a6cfb1e8 (diff) |
Suppress warning also with Clang
Change-Id: Ifffa76b2a1ceddd34f784f33df6ab21e0e078396
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
-rw-r--r-- | src/contacts/details/qcontactdetails.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/contacts/details/qcontactdetails.cpp b/src/contacts/details/qcontactdetails.cpp index ae962a951..4a11ba901 100644 --- a/src/contacts/details/qcontactdetails.cpp +++ b/src/contacts/details/qcontactdetails.cpp @@ -66,6 +66,7 @@ QT_BEGIN_NAMESPACE_CONTACTS * layouts as if they were POD, and the offsetof macro * does indeed work in our case. */ QT_WARNING_PUSH +QT_WARNING_DISABLE_CLANG("-Winvalid-offsetof") QT_WARNING_DISABLE_GCC("-Winvalid-offsetof") |