summaryrefslogtreecommitdiff
path: root/embedserv/source/embed/iipaobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'embedserv/source/embed/iipaobj.cxx')
-rw-r--r--embedserv/source/embed/iipaobj.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/embedserv/source/embed/iipaobj.cxx b/embedserv/source/embed/iipaobj.cxx
index 52ddae560..1759dea5e 100644
--- a/embedserv/source/embed/iipaobj.cxx
+++ b/embedserv/source/embed/iipaobj.cxx
@@ -94,3 +94,10 @@ STDMETHODIMP CIIAObj::EnableModeless(BOOL)
{
return NOERROR;
}
+
+// Fix strange warnings about some
+// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
+// warning C4505: 'xxx' : unreferenced local function has been removed
+#if defined(_MSC_VER)
+#pragma warning(disable: 4505)
+#endif