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 <icu_header1.h>
#include <icu_header1.h>
#define AXIS2_SKIP_INT_TYPEDEFS
#include <axis2_header1.h>
#include <axis2_header2.h>
int foo()
{
}
Regards,
Senaka
> 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 basic types
>
> I am using icu libraries (and many others). In
> pwin32.h, it defines
>
> typedef signed char int8_t;
>
> but in axutil_utils_defines.h, it defines:
>
> typedef __int8 int8_t;
>
> There seems to be a conflict.
>
> I have tried several options like define
> AXIS2_SKIP_INT_TYPEDEFS in my cpp file et cetera, but
> caused other problems. Any suggestions?
>
> Thanks much.
> Frank
>
> --- Senaka Fernando <[EMAIL PROTECTED]> wrote:
>
>> 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 distributions.
>> Hopefully, I will try to get rid of these warnings
>> too. And, perhaps in
>> the future we can ensure 64-bit support too.
>>
>> Regards,
>> Senaka
>>
>>
>> On Thu, 2008-03-13 at 09:36 +0530, Dinesh Premalal
>> wrote:
>> 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/AXIS2C-573
>> >
>> > thanks,
>> > Dinesh
>> >
>>
>>
> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>
>
>
>
> ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.
> http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]