Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-08-07 Thread Ozkan Sezer
On 8/6/12, Ruben Van Boxem wrote: > 2012/4/10 Ozkan Sezer : >> I pushed r4950 for __int128 and clang. Please correct further if >> necessary. > > This is a change that would be nice to have in the v2.x branch. I'll > be releasing Clang 3.1 release builds (which work great for 32-bit), > and for n

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-08-06 Thread Ruben Van Boxem
.x. so how about >>> >>> #if (!defined (__SIZEOF_INT128__) && (__clang_major__ ==3)) && >>> (__clang_minor__ >= 1)) || (!defined (__SIZEOF_INT128__) && (__clang_major__ >>>>=4))) >>> #define __SIZEOF_INT128__ 16 >>&g

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-10 Thread Ozkan Sezer
1)) || (!defined (__SIZEOF_INT128__) && (__clang_major__ >>>=4))) >> #define __SIZEOF_INT128__ 16 >> #endif >> >> this would cover 4.x and up as well. >> >> >> >> From: Kai Tietz >> To: mingw-w64-public@lists.sourceforge.net >> Sent:

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-09 Thread Kai Tietz
amp; > (__clang_minor__ >= 1)) || (!defined (__SIZEOF_INT128__) && (__clang_major__ >>=4))) > #define __SIZEOF_INT128__ 16 > #endif > > this would cover 4.x and up as well. > > > ____ > From: Kai Tietz > To: mingw-w64-pu

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-09 Thread Jim Michaels
INT128__ 16 #endif this would cover 4.x and up as well. > > From: Kai Tietz >To: mingw-w64-public@lists.sourceforge.net >Sent: Sunday, April 8, 2012 7:23 AM >Subject: Re: [Mingw-w64-public] Problem with __int128 and Clang > >2012/4/8 Ruben

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ozkan Sezer
On Mon, Apr 9, 2012 at 9:23 AM, Dongsheng Song wrote: > On Sun, Apr 8, 2012 at 22:23, Kai Tietz wrote: >> Proper fix for Clang would be in _mingw.h.in header before the first >> use of __SIZEOF_INT128__. >> >> #if !defined (__SIZEOF_INT128__) && (__clang_major__ ==3) && >> (__clang_minor__ >= 1)

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Dongsheng Song
On Sun, Apr 8, 2012 at 22:23, Kai Tietz wrote: > Proper fix for Clang would be in _mingw.h.in header before the first > use of __SIZEOF_INT128__. > > #if !defined (__SIZEOF_INT128__) && (__clang_major__ ==3) && > (__clang_minor__ >= 1) > #define __SIZEOF_INT128__ 16 > #endif > You maybe permit __

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Kai Tietz
2012/4/8 Ruben Van Boxem : > 2012/4/8 Ozkan Sezer >> >> On Sun, Apr 8, 2012 at 3:56 PM, Ruben Van Boxem >> wrote: >> > 2012/4/8 Ozkan Sezer >> >> >> >> On Sun, Apr 8, 2012 at 3:37 PM, Ruben Van Boxem >> >> wrote: >> >> > 2012/4/8 Ozkan Sezer >> >> >> >> >> >> On Sun, Apr 8, 2012 at 3:14 PM, Ru

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ruben Van Boxem
2012/4/8 Ozkan Sezer > On Sun, Apr 8, 2012 at 3:56 PM, Ruben Van Boxem > wrote: > > 2012/4/8 Ozkan Sezer > >> > >> On Sun, Apr 8, 2012 at 3:37 PM, Ruben Van Boxem > >> wrote: > >> > 2012/4/8 Ozkan Sezer > >> >> > >> >> On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem > >> >> wrote: > >> >> >

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ozkan Sezer
On Sun, Apr 8, 2012 at 3:56 PM, Ruben Van Boxem wrote: > 2012/4/8 Ozkan Sezer >> >> On Sun, Apr 8, 2012 at 3:37 PM, Ruben Van Boxem >> wrote: >> > 2012/4/8 Ozkan Sezer >> >> >> >> On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem >> >> wrote: >> >> > Hi, >> >> > >> >> > Clang doesn't support the

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ruben Van Boxem
2012/4/8 Ozkan Sezer > On Sun, Apr 8, 2012 at 3:37 PM, Ruben Van Boxem > wrote: > > 2012/4/8 Ozkan Sezer > >> > >> On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem > >> wrote: > >> > Hi, > >> > > >> > Clang doesn't support the __int128 stuff, and the _mingw.h header is > >> > doing a > >> > typ

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ozkan Sezer
On Sun, Apr 8, 2012 at 3:37 PM, Ruben Van Boxem wrote: > 2012/4/8 Ozkan Sezer >> >> On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem >> wrote: >> > Hi, >> > >> > Clang doesn't support the __int128 stuff, and the _mingw.h header is >> > doing a >> > typedef that Clang does not understand. >> > >>

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ruben Van Boxem
2012/4/8 Ozkan Sezer > On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem > 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__ > >

Re: [Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ozkan Sezer
On Sun, Apr 8, 2012 at 3:14 PM, Ruben Van Boxem 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__ (

[Mingw-w64-public] Problem with __int128 and Clang

2012-04-08 Thread Ruben Van Boxem
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(