[ http://issues.apache.org/jira/browse/AXISCPP-665?page=all ] Chinthana Danapala resolved AXISCPP-665: ----------------------------------------
Resolution: Fixed I have made the changes in Client.cpp file. Now it copiles and sample is running fine. > Base sample failed to compile client.cpp > ---------------------------------------- > > Key: AXISCPP-665 > URL: http://issues.apache.org/jira/browse/AXISCPP-665 > Project: Axis-C++ > Type: Bug > Components: Samples > Versions: 1.6 Alpha > Reporter: Chinthana Danapala > Assignee: Chinthana Danapala > Fix For: 1.6 Alpha > > 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 -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira