[GCC-XML] fails to parse __float128 on linux 32-bits, OK in 64-bits
Brad King
brad.king at kitware.com
Mon Dec 19 11:05:11 EST 2011
On 12/18/2011 5:58 PM, Steve M. Robbins wrote:
> #if (__GNUC__> 4 || (__GNUC__ == 4&& __GNUC_MINOR__>= 6)) \
> && (defined(__i386__) || defined(__x86_64__) || defined(__ia64__))
> typedef __float128 quadcomplex[2];
> #endif
Treat gccxml like any other compiler that pretends to be __GNUC__
(such as Intel) and test for it with __GCCXML__ and these macros that
tell you the internal GCC parser version:
-D__GCCXML_GNUC__=4
-D__GCCXML_GNUC_MINOR__=2
-D__GCCXML_GNUC_PATCHLEVEL__=1
Unfortunately gccxml will not be able to dump an xml interface description
that includes __float128.
-Brad
More information about the gccxml
mailing list