axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Meier (JIRA)" <>
Subject [jira] Created: (AXIS2C-970) New typedefs in axutil_utils_defines.h conflict with icu library
Date Wed, 06 Feb 2008 23:17:08 GMT
New typedefs in axutil_utils_defines.h conflict with icu library

                 Key: AXIS2C-970
             Project: Axis2-C
          Issue Type: Bug
          Components: util
    Affects Versions: Current (Nightly)
         Environment: Windows XP
            Reporter: Dave Meier
            Priority: Critical

I am now getting an error compiling the latest code, because of the typedefs added to axutil_utils_defines.h:

+#if defined(WIN32)
+     * ANSI Type definitions for Windows
+     */
+    typedef unsigned __int8 uint8_t;
+    typedef __int8 int8_t;
+    typedef unsigned __int16 uint16_t;
+    typedef __int16 int16_t;
+    typedef unsigned __int32 uint32_t;
+    typedef __int32 int32_t;
+    typedef unsigned __int64 uint64_t;
+    typedef __int64 int64_t;

I also use the icu library ( and it does the following:

#include <inttypes.h>
#else /* U_HAVE_INTTYPES_H */

#if ! U_HAVE_INT8_T
typedef signed char int8_t;

#if ! U_HAVE_UINT8_T
typedef unsigned char uint8_t;

#if ! U_HAVE_INT16_T
typedef signed short int16_t;

#if ! U_HAVE_UINT16_T
typedef unsigned short uint16_t;

#if ! U_HAVE_INT32_T
typedef signed int int32_t;

#if ! U_HAVE_UINT32_T
typedef unsigned int uint32_t;

#if ! U_HAVE_INT64_T
    typedef signed long long int64_t;
    typedef signed __int64 int64_t;

#if ! U_HAVE_UINT64_T
    typedef unsigned long long uint64_t;
    typedef unsigned __int64 uint64_t;

So they conflict which results in a compiler error.  Not sure what to do.  For now I will
comment out the typedefs in axutil_utils_defines.h.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message