diff options
-rw-r--r-- | embedserv/source/embed/esdll.cxx | 8 | ||||
-rw-r--r-- | extensions/source/ole/oledll.cxx | 8 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/UAccCOM.cxx | 8 |
3 files changed, 21 insertions, 3 deletions
diff --git a/embedserv/source/embed/esdll.cxx b/embedserv/source/embed/esdll.cxx index 911ffdc06b2a..fb5f1cc9b8c0 100644 --- a/embedserv/source/embed/esdll.cxx +++ b/embedserv/source/embed/esdll.cxx @@ -41,8 +41,14 @@ CComModule _Module; #include <atlcom.h> 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 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 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 |