[GCC-XML] gccxml chokes on MS integer suffixes

Thomas Heller theller at python.net
Thu Mar 17 12:46:17 EST 2005


gccxml chokes on integer suffixes defined in MS header file limits.h.
I don't know if its worth to fix it, whether it should be fixed with a
patch to the header file, or it it should be fixed in gccxml itself.

I just wanted to report it.

Excerpt from the file:

#if     _INTEGRAL_MAX_BITS >= 32
#define _I32_MIN    (-2147483647i32 - 1) /* minimum signed 32 bit value */
#define _I32_MAX      2147483647i32 /* maximum signed 32 bit value */
#define _UI32_MAX     0xffffffffui32 /* maximum unsigned 32 bit value */
#endif

gccxml doesn't like the i32 or ui32 suffixes (there are i8, i16, i32,
i64, i128 and other variants in the file).

Thomas

FYI: I've (beta-)released a code generator toolchain for Python, based on
the ctypes module, in case someone is interested:

http://starship.python.net/crew/theller/ctypes/
http://starship.python.net/crew/theller/ctypes/codegen.html




More information about the gccxml mailing list