Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-1012

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6 Beta
    • current (nightly)
    • Client - Stub
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            wdtj Wayne Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: