2012/4/8 Ozkan Sezer <[email protected]>
> On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem
> <[email protected]> wrote:
> > Hi,
> >
> > Clang doesn't support the __int128 stuff, and the _mingw.h header is
> doing a
> > typedef that Clang does not understand.
> >
> > It is on line 218 of _mingw.h:
> >
> > #ifndef __SIZEOF_INT128__
> > typedef int __int128 __attribute__ ((__mode__ (TI)));
> > #endif
> >
> > should be:
> >
> > #if !defined(__SIZEOF_INT128__) && !defined(__clang__)
> > typedef int __int128 __attribute__ ((__mode__ (TI)));
> > #endif
> >
> > Does this seem plausible?
>
> __mode__ (TI) is the problem, I guess? If that is the case, one would
> like to know whether they would support it in the future.
>
Doesn't seem so:
M:/Development/mingw64/bin/../lib/clang/3.1/../../../x86_64-w64-mingw32/include\_mingw.h:220:13:
error: cannot combine with previous 'int' declaration specifier
typedef int __int128;// __attribute__ ((__mode__ (TI)));
^
1 error generated.
A small test also shows that __int128 is a Clang builtin type. So the
typedef just needs to be removed for Clang.
Ruben
> >
> > Ruben
>
> --
> O.S.
>
>
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public