summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-26 16:52:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-26 17:06:42 +0100
commit4b68b6d323e555595b540946d5fcc6a2cd9ae2fe (patch)
tree14d7fcf3e43b98d4a92916b48447c3b5c152022a /winaccessibility
parentb6a99534d878a0062b0fdc9d6f24cb231a2e03a7 (diff)
Silence -Werror,-Wmissing-field-initializers in END_OBJECT_MAP (clang-cl)
Change-Id: Ia9ba7fc6cd94e2d726cd9b1dc72c140af16dd700
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/UAccCOM.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/UAccCOM.cxx b/winaccessibility/source/UAccCOM/UAccCOM.cxx
index 4f54a37c544a..f56396627572 100644
--- a/winaccessibility/source/UAccCOM/UAccCOM.cxx
+++ b/winaccessibility/source/UAccCOM/UAccCOM.cxx
@@ -64,8 +64,14 @@ OBJECT_ENTRY(CLSID_AccValue, CAccValue)
OBJECT_ENTRY(CLSID_AccTable, CAccTable)
OBJECT_ENTRY(CLSID_AccHyperLink, CAccHyperLink)
OBJECT_ENTRY(CLSID_AccHypertext, CAccHypertext)
+#if defined __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+#endif
END_OBJECT_MAP()
-
+#if defined __clang__
+#pragma clang diagnostic pop
+#endif
// DLL Entry Point