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/07/20 06:16:45 UTC

[jira] Created: (AXISCPP-751) AxisBench test compilation fails.

AxisBench test compilation fails.
---------------------------------

         Key: AXISCPP-751
         URL: http://issues.apache.org/jira/browse/AXISCPP-751
     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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-751) AxisBench test compilation fails.

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-751?page=all ]
     
Samisa Abeysinghe closed AXISCPP-751:
-------------------------------------

    Fix Version: 1.6 Alpha
     Resolution: Fixed

It is working now. Must have been fixed by someone at some point in time

> AxisBench test compilation fails.
> ---------------------------------
>
>          Key: AXISCPP-751
>          URL: http://issues.apache.org/jira/browse/AXISCPP-751
>      Project: Axis-C++
>         Type: Bug
>   Components: Client - Stub
>     Versions: 1.6 Alpha
>  Environment: Windows
>     Reporter: Chinthana Danapala
>      Fix For: 1.6 Alpha

>
> 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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-751) AxisBench test compilation fails.

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-751?page=comments#action_12316322 ] 

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: http://issues.apache.org/jira/browse/AXISCPP-751
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXISCPP-751) AxisBench test compilation fails.

Posted by John Hawkins <HA...@uk.ibm.com>.
Is this to do with MSVC 7.0 support?





"Chinthana Danapala (JIRA)" <ax...@ws.apache.org> 
20/07/2005 09:34
Please respond to
"Apache AXIS C Developers List"


To
axis-c-dev@ws.apache.org
cc

Subject
[jira] Commented: (AXISCPP-751) AxisBench test compilation fails.






    [ 
http://issues.apache.org/jira/browse/AXISCPP-751?page=comments#action_12316209 
] 

Chinthana Danapala commented on AXISCPP-751:
--------------------------------------------

It's only happen in IntegerType and LongType. And it worked for printf 
statement. 
I found that following line cause the problem.

#ifdef Q168440_WORKAROUND

I don't know for what purpose this using for.



> AxisBench test compilation fails.
> ---------------------------------
>
>          Key: AXISCPP-751
>          URL: http://issues.apache.org/jira/browse/AXISCPP-751
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Commented: (AXISCPP-751) AxisBench test compilation fails.

Posted by "Chinthana Danapala (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-751?page=comments#action_12316209 ] 

Chinthana Danapala commented on AXISCPP-751:
--------------------------------------------

It's only happen in IntegerType and LongType. And it worked for printf statement. 
I found that following line cause the problem.

#ifdef Q168440_WORKAROUND

I don't know for what purpose this using for.



> AxisBench test compilation fails.
> ---------------------------------
>
>          Key: AXISCPP-751
>          URL: http://issues.apache.org/jira/browse/AXISCPP-751
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira