From 973705d784ad7e326c8d98c7813c4630a98fdd5c Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 20 Jun 2006 04:40:50 +0000
Subject: INTEGRATION: CWS warnings01 (1.2.50); FILE MERGED 2006/05/24 01:12:44
sb 1.2.50.2: RESYNC: (1.2-1.3); FILE MERGED 2006/02/20 15:31:45 cd 1.2.50.1:
#i55991# Warning free code for Windows C++ compiler
---
embedserv/source/embed/iipaobj.cxx | 7 +++++++
1 file changed, 7 insertions(+)
(limited to 'embedserv/source')
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
--
cgit v1.2.3