Thank you Samisa. Regards, Rangika ----- Original Message ----- From: "Samisa Abeysinghe" <[EMAIL PROTECTED]> To: "Apache AXIS C Developers List" <[email protected]> Sent: Thursday, April 07, 2005 10:50 AM Subject: RE: Array & Base samples don't build
> Hi Rangika, > These samples are *very* broken. > This is because the generated code we have in CVS are quite old. > I have implemented a new ant based script to generate code for > server and clients and build them. > You can run ant -d buldsamples.xml and get them built. > > We should ship these samples with the release and not those old > ones. > Thanks, > Samisa... > > -----Original Message----- > From: Rangika Mendis [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 07, 2005 10:52 AM > To: Apache AXIS C Developers List > Subject: Array & Base samples don't build > > Hi All, > > I generated code using the tool for Array & Base samples & they don't > build > with the relevant clients which exist in the cvs. > The following are the errors encountered for Array - > > > ArrayClient.cpp > ../../../../include\axis/client/Call.hpp(484) : warning C4251: > 'm_strProxyHost' : class 'std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >' needs to have > dll-interface to be used by clients of class 'axiscpp::Call' > ../../../../include\axis/AxisException.hpp(176) : warning C4275: non > dll-interface class 'exception' used as base for dll-interface class > 'axiscpp::AxisException' > C:\Program Files\Microsoft Visual > Studio\VC98\INCLUDE\exception(50) > : see declaration of 'exception' > E:\checkout_1_5_final\ws-axis\c\samples\client\array\ArrayClient.cpp(69) > : > error C2440: '=' : cannot convert from 'int *' to 'int ** ' > Types pointed to are unrelated; conversion requires > reinterpret_cast, C-style cast or function-style cast > E:\checkout_1_5_final\ws-axis\c\samples\client\array\ArrayClient.cpp(73) > : > error C2440: '=' : cannot convert from 'int' to 'int *' > Conversion from integral type to pointer type requires > reinterpret_cast, C-style cast or function-style cast > intArrayType.cpp > ArrayTestPortType.cpp > ../../../../include\axis/client/Call.hpp(484) : warning C4251: > 'm_strProxyHost' : class 'std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >' needs to have > dll-interface to be used by clients of class 'axiscpp::Call' > ../../../../include\axis/AxisException.hpp(176) : warning C4275: non > dll-interface class 'exception' used as base for dll-interface class > 'axiscpp::AxisException' > C:\Program Files\Microsoft Visual > Studio\VC98\INCLUDE\exception(50) > : see declaration of 'exception' > E:\checkout_1_5_final\ws-axis\c\deploy\wsdls\ClientOut\ArrayTestPortType > .cpp > (43) : warning C4101: 'pcCmplxFaultName' : unreferenced local variable > Error executing cl.exe. > > Regards, > Rangika > > > > >
