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

Base sample failed to compile client.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6 Alpha
    • 1.6 Alpha
    • Samples
    • None

    Description

      Compiling failed in client.cpp file. It gives following errors.

      [cc] SOAPStruct.cpp
      [cc] Client.cpp
      [cc] C:\axiscpp\ws-axis\c\samples\client\base\Client.cpp(132) : warning C
      4305: 'initializing' : truncation from 'const double' to 'float'
      [cc] C:\axiscpp\ws-axis\c\samples\client\base\Client.cpp(159) : error C24
      40: '=' : cannot convert from 'const double' to 'float *'
      [cc] There is no context in which this conversion is possible
      [cc] C:\axiscpp\ws-axis\c\samples\client\base\Client.cpp(160) : error C24
      40: '=' : cannot convert from 'const int' to 'int *'
      [cc] Conversion from integral type to pointer type requires reint
      erpret_cast, C-style cast or function-style cast
      [cc] C:\axiscpp\ws-axis\c\samples\client\base\Client.cpp(175) : error C24
      40: '=' : cannot convert from 'double' to 'float *'
      [cc] There is no context in which this conversion is possible
      [cc] C:\axiscpp\ws-axis\c\samples\client\base\Client.cpp(176) : error C24
      40: '=' : cannot convert from 'int' to 'int *'
      [cc] Conversion from integral type to pointer type requires reint
      erpret_cast, C-style cast or function-style cast
      [cc] Generating Code...
      [cc] cl failed with return code 2

      Attachments

        Activity

          People

            cdinapala Chinthana Dinapala
            cdinapala Chinthana Dinapala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: