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 "Chinthana Danapala (JIRA)" <ax...@ws.apache.org> on 2005/05/31 06:54:54 UTC
[jira] Created: (AXISCPP-665) Base sample failed to compile client.cpp
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
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
[jira] Resolved: (AXISCPP-665) Base sample failed to compile client.cpp
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ 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
[jira] Assigned: (AXISCPP-665) Base sample failed to compile client.cpp
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-665?page=all ]
Chinthana Danapala reassigned AXISCPP-665:
------------------------------------------
Assign To: Chinthana Danapala
> 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
[jira] Closed: (AXISCPP-665) Base sample failed to compile client.cpp
Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXISCPP-665?page=all ]
Chinthana Danapala closed AXISCPP-665:
--------------------------------------
(Visible to axiscpp-developers)
> 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