Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 94856 invoked from network); 20 Oct 2005 03:10:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2005 03:10:58 -0000 Received: (qmail 45128 invoked by uid 500); 20 Oct 2005 03:10:57 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 45016 invoked by uid 500); 20 Oct 2005 03:10:57 -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 45003 invoked by uid 99); 20 Oct 2005 03:10:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2005 20:10:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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, 19 Oct 2005 20:10:55 -0700 Received: from cs-mailsvr.Virtusa.com ([10.2.1.11]unverified) by mailhost.virtusa.com with InterScan Messaging Security Suite; Wed, 19 Oct 2005 23:08:01 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: errors in generated codes Date: Thu, 20 Oct 2005 09:10:23 +0600 Message-ID: <785A212E11918F449D1318C61B7A9B0E015C052E@cs-mailsvr.Virtusa.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: errors in generated codes Thread-Index: AcXUulN5KrslHKGSRZKGW1Led2VKjAAZ/5iQ From: "Dushshantha Chandradasa" 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 Hi Nadir, I checked with the latest checkout. BeanParamWriter.java seems to be ok. It generates the reset method in my code. But the problem is that the Header file of the Complex type in which I can find the reset method doesn't contain the function prototype of reset. When I add the function prototype in to the header file, the source is nicely compiling. Don't know whether this is another Windows specific problem. To add something to generated Header files, you have to edit ParmHeaderFileWriter.java.=20 Thanks, Dushshantha -----Original Message----- From: Nadir Amra [mailto:amra@us.ibm.com]=20 Sent: Wednesday, October 19, 2005 8:32 PM To: Apache AXIS C Developers List Subject: Re: errors in generated codes cpp/BeanParamWriter.java and cpp/literal/BeanParamWriter.java was=20 updated by me to fix AXISCPP-343. Maybe you do not have the latest code in SVN? I ran the test bucket with no compile errors, unless this is a=20 new test? Nadir K. Amra "Dushshantha Chandradasa" wrote on 10/19/2005 03:37:01 AM: > HI All, >=20 > I notice some error in generated codes for complex types.=20 >=20 > compileService: > [copy] Copying 1 file to=20 C:\obj\test\generated\server\cpp\SimpleTypeArray > [cc] 5 total files to be compiled. > [cc] SimpleTypeArrayWSService.cpp > [cc] AxisServiceException.cpp > [cc] SimpleTypeArrayWS.cpp > [cc] SimpleTypeArrayWSWrapper.cpp > [cc] Type.cpp > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(80) : erro > r C2039: 'reset' : is not a member of 'Type' > [cc] C: > \obj\test\generated\server\cpp\SimpleTypeArray\Type.hpp(32 > ) : see declaration of 'Type' > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(121) : err > or C2039: 'reset' : is not a member of 'Type' > [cc] C: > \obj\test\generated\server\cpp\SimpleTypeArray\Type.hpp(32 > ) : see declaration of 'Type' > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(122) : err > or C2373: 'reset' : redefinition; different type modifiers > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(125) : err > or C2065: 'item' : undeclared identifier > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(125) : err > or C2228: left of '.m_Array' must have class/struct/union type > [cc] C:\obj\test\generated\server\cpp\SimpleTypeArray\Type. > cpp(126) : err > or C2228: left of '.m_Size' must have class/struct/union type > [cc] Generating Code... > [cc] C: > \obj\test\generated\server\cpp\SimpleTypeArray\SimpleTypeArrayWSWr > apper.cpp(88) : warning C4715: 'SimpleTypeArrayWSWrapper::getInput'=20 > : not all co > ntrol paths return a value > [cc] cl failed with return code 2 >=20 >=20 >=20 > Marcus Dushshantha Chandradasa > Team Virtusa > dchadradasa@virtusa.com >=20