Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 21612 invoked from network); 20 Jul 2005 10:11:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Jul 2005 10:11:47 -0000 Received: (qmail 20202 invoked by uid 500); 20 Jul 2005 10:11:44 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 20181 invoked by uid 500); 20 Jul 2005 10:11:42 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 20155 invoked by uid 99); 20 Jul 2005 10:11:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 03:11:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.40.51.197] (HELO mailhost.virtusa.com) (12.40.51.197) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 03:11:36 -0700 Received: from cs-mailsvr.Virtusa.com ([10.2.1.11]unverified) by mailhost.virtusa.com with InterScan Messaging Security Suite; Wed, 20 Jul 2005 06:09:49 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C58D13.8060E63A" Subject: RE: [jira] Commented: (AXISCPP-751) AxisBench test compilation fails. Date: Wed, 20 Jul 2005 16:11:14 +0600 Message-ID: <403DD48EAE182940B89ECEAFE03F9690061B755C@cs-mailsvr.Virtusa.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [jira] Commented: (AXISCPP-751) AxisBench test compilation fails. Thread-Index: AcWNB7ye05hQpZjFS268pwJnI5tkhAACTJHw From: "Chinthana C. Dinapala" To: "Apache AXIS C Developers List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C58D13.8060E63A Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi John, =20 I'm having MSVC 6.0. =20 #include #include #include =20 #ifndef WIN32 #include "sys/time.h" #else #include "sys/timeb.h =20 // 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 =20 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. =20 =20 Thanks Chinthana =20 ________________________________ From: John Hawkins [mailto:HAWKINSJ@uk.ibm.com]=20 Sent: Wednesday, July 20, 2005 2:41 PM To: Apache AXIS C Developers List Subject: Re: [jira] Commented: (AXISCPP-751) AxisBench test compilation fails. =20 Is this to do with MSVC 7.0 support?=20 "Chinthana Danapala (JIRA)" =20 20/07/2005 09:34=20 Please respond to "Apache AXIS C Developers List" To axis-c-dev@ws.apache.org=20 cc =20 Subject [jira] Commented: (AXISCPP-751) AxisBench test compilation fails. =20 =20 =20 [ http://issues.apache.org/jira/browse/AXISCPP-751?page=3Dcomments#action_1= 2 316209 ]=20 Chinthana Danapala commented on AXISCPP-751: -------------------------------------------- It's only happen in IntegerType and LongType. And it worked for printf statement.=20 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 --=20 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 ------_=_NextPart_001_01C58D13.8060E63A Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

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:HAWKINSJ@uk.ibm.com] =
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)" <axis-c-dev@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=3Dcomments#action_1= 2316209 ]

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

------_=_NextPart_001_01C58D13.8060E63A--