RE: Axis2/C 1.3 source compilation error

2008-03-13 Thread Dave Meier
but it is closed as it is 2003 specific. -Dave. -Original Message- From: Frank Zhou [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2008 8:43 PM To: Apache AXIS C Developers List Subject: Re: Axis2/C 1.3 source compilation error Hi Samisa, I am using nmake commands, I tried a few

RE: Axis2/C 1.3 source compilation error

2008-03-13 Thread Dave Meier
: Re: Axis2/C 1.3 source compilation error Hi Senaca, I am afraid it's not that easy. In fact, I do not directly include icu headers, it's the headers I included that in turn includes the icu headers. Similarly for axis2 headers, for example, lots of axis2 headers include . If I do some

Re: Axis2/C 1.3 source compilation error

2008-03-13 Thread Frank Zhou
OK, got it. In my case, I have to put the axis2 headers ahead of everything else otherwise I will get a bunch of redefinition errors. So to resolve this error, I need to find the exact icu header that defines int8_t and only put this ahead of axis2 headers. Then use #define AXIS2_SKIP_INT_TYPEDEFS

Re: Axis2/C 1.3 source compilation error

2008-03-13 Thread Frank Zhou
Hi Senaca, I am afraid it's not that easy. In fact, I do not directly include icu headers, it's the headers I included that in turn includes the icu headers. Similarly for axis2 headers, for example, lots of axis2 headers include . If I do something like #define AXIS2_SKIP_INT_TYPEDEFS #includ

Re: Axis2/C 1.3 source compilation error

2008-03-13 Thread Senaka Fernando
Hi Frank, Well to ensure that this will not happen, Just do this modification. In the place where you add both icu (or other) includes (headers) and Axis2/C headers, Use this format. #include #include #define AXIS2_SKIP_INT_TYPEDEFS #include #include int foo() { } Regards, Senaka > Hi

Re: Axis2/C 1.3 source compilation error

2008-03-13 Thread Frank Zhou
Hi Senaka, After I removed /WX, the compilation does go through successfully. However, when I try to include the deployment in my application, I am getting another compilation error due to type redefinition: x:\inc\i18n\unicode\pwin32.h(106): error C2371: 'int8_t' : redefinition; different b

Re: Axis2/C 1.3 source compilation error

2008-03-12 Thread Senaka Fernando
Hi Frank, Follow these steps. 1. Open the makefile found in build/win32/ in wordpad 2. Remove all /WX flags (in CFlags and LDFlags sections) Then do a clean build. I apologize for inconvenience caused. Your errors are in fact due to 64-bit system specific warnings. Our packs are 32-bit distribu

Re: Axis2/C 1.3 source compilation error

2008-03-12 Thread Dinesh Premalal
Samisa Abeysinghe <[EMAIL PROTECTED]> writes: > You seem to have warnings treated as errors. Can you disable that and > try again? IIRC, Senaka worked on fixing windows warnings and jira is also fixed [1]. May be we might happen to reopen this issue. 1.https://issues.apache.org/jira/browse/AXIS

Re: Axis2/C 1.3 source compilation error

2008-03-12 Thread Frank Zhou
Hi Samisa, I am using nmake commands, I tried a few options like /k, /C or /I. Only /I will allow me continue to build, but the axis2_http_server.exe was not created. How do I turn off the option so warnings won't be treated as errors? I was able to compile axis2/c 1.2 successfully. Thanks! Fr

Re: Axis2/C 1.3 source compilation error

2008-03-12 Thread Samisa Abeysinghe
You seem to have warnings treated as errors. Can you disable that and try again? Samisa... Frank Zhou wrote: Hi All, I downloaded the AXIS2/c 1.3 source code today and found out that I can not compile it. I got the following error: == http_server_main.c ..\..\src\core\transp

Re: Axis2/C 1.3 source compilation error

2008-03-12 Thread Frank Zhou
I also tried on my Windows Server 2003 machine and got the same error. In both machine, I am using MS visual studio .Net 2003. Thanks! Frank --- Frank Zhou <[EMAIL PROTECTED]> wrote: > Hi All, > > I downloaded the AXIS2/c 1.3 source code today and > found out that I can not compile it. I got t

Axis2/C 1.3 source compilation error

2008-03-12 Thread Frank Zhou
Hi All, I downloaded the AXIS2/c 1.3 source code today and found out that I can not compile it. I got the following error: == http_server_main.c ..\..\src\core\transport\http\server\simple_axis2_server\http_server_main.c(119) : error C2220: warning treated as error - no object f