axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chinthana C. Dinapala" <>
Subject RE: [jira] Commented: (AXISCPP-751) AxisBench test compilation fails.
Date Wed, 20 Jul 2005 10:11:14 GMT
Hi John,


I'm having MSVC 6.0.


#include <iostream>

#include <fstream>

#include <time.h>


#ifndef WIN32

  #include "sys/time.h"


  #include "sys/timeb.h


  // Bug in MS Visual C++ 6.0. Fixed in Visual C++ .Net version.

  // Cannot print an __int64 number with cout without this overloading

  std::ostream& operator<<(std::ostream& os, __int64 i )


    char buf[20];

    sprintf(buf,"%I64d", i );

    os << buf;

    return os;




This is the previous code and it's worked fine. But addition of #ifdef
Q168440_WORKAROUND (as in the current code) it's failed.

I don't know purpose of this if block whether it's for support MSVC 7.0
or some other reason.







From: John Hawkins [] 
Sent: Wednesday, July 20, 2005 2:41 PM
To: Apache AXIS C Developers List
Subject: Re: [jira] Commented: (AXISCPP-751) AxisBench test compilation


Is this to do with MSVC 7.0 support? 

"Chinthana Danapala (JIRA)" <> 

20/07/2005 09:34 

Please respond to
"Apache AXIS C Developers List"





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




316209 ] 

Chinthana Danapala commented on AXISCPP-751:

It's only happen in IntegerType and LongType. And it worked for printf
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:
>      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