You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Wayne Johnson (JIRA)" <ax...@ws.apache.org> on 2007/01/08 17:27:27 UTC

[jira] Created: (AXISCPP-1012) Call.hpp overides VC warning (disable : 4251) (includes patch)

Call.hpp overides VC warning (disable : 4251) (includes patch)
--------------------------------------------------------------

                 Key: AXISCPP-1012
                 URL: https://issues.apache.org/jira/browse/AXISCPP-1012
             Project: Axis-C++
          Issue Type: Bug
          Components: Client - Stub
    Affects Versions:  1.6 Beta
         Environment: Compiling with VC 7.1
            Reporter: Wayne Johnson
            Priority: Critical
             Fix For:  1.6 Final


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Closed: (AXISCPP-1012) Call.hpp overides VC warning (disable : 4251) (includes patch)

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXISCPP-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

nadir amra closed AXISCPP-1012.
-------------------------------

       Resolution: Fixed
    Fix Version/s:     (was:  1.6 Final)
                   current (nightly)

> Call.hpp overides VC warning (disable : 4251) (includes patch)
> --------------------------------------------------------------
>
>                 Key: AXISCPP-1012
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1012
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Client - Stub
>    Affects Versions:  1.6 Beta
>         Environment: Compiling with VC 7.1
>            Reporter: Wayne Johnson
>            Priority: Critical
>             Fix For: current (nightly)
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXISCPP-1012) Call.hpp overides VC warning (disable : 4251) (includes patch)

Posted by "Wayne Johnson (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXISCPP-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463319 ] 

Wayne Johnson commented on AXISCPP-1012:
----------------------------------------

This code is also in stub.hpp.

> Call.hpp overides VC warning (disable : 4251) (includes patch)
> --------------------------------------------------------------
>
>                 Key: AXISCPP-1012
>                 URL: https://issues.apache.org/jira/browse/AXISCPP-1012
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: Client - Stub
>    Affects Versions:  1.6 Beta
>         Environment: Compiling with VC 7.1
>            Reporter: Wayne Johnson
>            Priority: Critical
>             Fix For:  1.6 Final
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org