Hi John,
I’m having MSVC 6.0.
#include <iostream>
#include <fstream>
#include <time.h>
#ifndef WIN32
#include "sys/time.h"
#else
#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;
}
#endif
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.
Thanks
Chinthana
From: John Hawkins [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005
2:41 PM
To: Apache
AXIS C Developers List
Subject: Re: [jira] Commented:
(AXISCPP-751) AxisBench test compilation fails.
Is this to do with MSVC 7.0 support?
|
"Chinthana Danapala
(JIRA)" <[email protected]>
20/07/2005 09:34
|
Please
respond to
"Apache AXIS C Developers List"
|
|
|
To
|
[email protected]
|
|
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