Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6 Beta
-
None
-
Compiling with VC 7.1
Description
Call.hpp disables VC warning 4251, then resets it to the default state. This was causing our code that calls the stub to generate 4251 warnings.
Better to push the warning state, disable the warning state for the required calls, then pop the state:
#ifdef WIN32
#pragma warning (push)
#pragma warning (disable : 4251)
#endif
list<void*> m_handlerProperties;
list<ISoapAttachment*> m_attachments;
#ifdef WIN32
#pragma warning (pop)
#endif