summaryrefslogtreecommitdiff
path: root/extensions
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 /extensions
parentb6a99534d878a0062b0fdc9d6f24cb231a2e03a7 (diff)
Silence -Werror,-Wmissing-field-initializers in END_OBJECT_MAP (clang-cl)
Change-Id: Ia9ba7fc6cd94e2d726cd9b1dc72c140af16dd700
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/oledll.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/extensions/source/ole/oledll.cxx b/extensions/source/ole/oledll.cxx
index f3c862f5269c..c319cc7c07a3 100644
--- a/extensions/source/ole/oledll.cxx
+++ b/extensions/source/ole/oledll.cxx
@@ -50,8 +50,14 @@ CComModule _Module;
#pragma warning (pop)
BEGIN_OBJECT_MAP(ObjectMap)
+#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