summaryrefslogtreecommitdiff
path: root/winaccessibility/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-27 16:49:37 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-28 14:00:03 +0100
commitf5f63b9f9869b632a89078500ba0a74d72f913e6 (patch)
tree9e3b9291074661dc277a95a9ace6a98e4e358f66 /winaccessibility/source
parent3d4da2347ee6ef787902e0af57e7f9635e3bd6c0 (diff)
Silence clang-cl warnings in ATL headers
Change-Id: I42fe7bfcd89c11fe2940bff43d4a8653e0026db2
Diffstat (limited to 'winaccessibility/source')
-rw-r--r--winaccessibility/source/UAccCOM/stdafx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/winaccessibility/source/UAccCOM/stdafx.h b/winaccessibility/source/UAccCOM/stdafx.h
index e71ac0b0a506..b1cf88a135dd 100644
--- a/winaccessibility/source/UAccCOM/stdafx.h
+++ b/winaccessibility/source/UAccCOM/stdafx.h
@@ -35,11 +35,24 @@
#include <prewin.h>
#include <windows.h>
+#if defined __clang__
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wall"
+#pragma clang diagnostic ignored "-Wattributes"
+#pragma clang diagnostic ignored "-Wdelete-incomplete"
+#pragma clang diagnostic ignored "-Wint-to-pointer-cast"
+#pragma clang diagnostic ignored "-Winvalid-noreturn"
+#pragma clang diagnostic ignored "-Wmicrosoft"
+#pragma clang diagnostic ignored "-Wnon-pod-varargs"
+#endif
#include <atlbase.h>
// You may derive a class from CComModule and use it if you want to override
// something, but do not change the name of _Module
extern CComModule _Module;
#include <atlcom.h>
+#if defined __clang__
+#pragma clang diagnostic pop
+#endif
#include <postwin.h>
#undef OPAQUE