axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Dick (JIRA)" <>
Subject [jira] Commented: (AXISCPP-751) AxisBench test compilation fails.
Date Thu, 21 Jul 2005 07:39:47 GMT
    [ ] 

Adrian Dick commented on AXISCPP-751:

The error (in original description) is due to MS VC++ 6 not implementing the cout <<operator
for 64bit integers.

A while back a "patch" for this was placed into the affected testcases, however recently a
number of users/developers have moved to MS VC++ 7, which has resolved this problem, and therefore
doesn't compile due to a duplicated definition.

John Kelly recently provided some patches (which I  applied) to allow the ANT scripts to determine
which version of MS VC++ is being used - it looks for the presence of the environment variable
MSDevDir which is only present for MS VC++ 6.

Alas, it would appear that not all MS VC++ 6 installations provide this.

Speaking to John a couple of days ago, he believed there was a way to determine the version
from within the pre-processor, which would avoid this problem.

However, for the moment, the simplist solution would be set the environment variable MSDevDir.

> AxisBench test compilation fails.
> ---------------------------------
>          Key: AXISCPP-751
>          URL:
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Versions: 1.6 Alpha
>  Environment: Windows
>     Reporter: Chinthana Danapala

> Client code compilation fails with following error.
> compileStaticClient:
>        [cc] 4 total files to be compiled.
>        [cc] BenchDataType.cpp
>        [cc] AxisBenchClient.cpp
>        [cc] C:\obj\test\generated\cpp\AxisBench\AxisBenchClient.cpp(209) : error
>  C2593: 'operator <<' is ambiguous
>        [cc] C:\obj\test\generated\cpp\AxisBench\AxisBenchClient.cpp(223) : error
>  C2593: 'operator <<' is ambiguous
>        [cc] AxisBench.cpp
>        [cc] BenchBasicDataType.cpp
>        [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:
For more information on JIRA, see:

View raw message