-Original Message-
From: Vincent Torri
Sent: Wednesday, April 18, 2018 1:12 AM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] sizeof long
https://msdn.microsoft.com/ro-ro/library/s3f49ktz.aspx
https://en.wikipedia.org/wiki/64-bit_computing#64-bit_data_models
al Message-
From: sisyph...@optusnet.com.au
Sent: Tuesday, April 17, 2018 9:58 AM
To: mingw-w64-public@lists.sourceforge.net
Subject: [Mingw-w64-public] sizeof long
Hi,
Why is it that on our x86_64 compilers sizeof long is only 4 ?
Does it absolutely have to be that way ? Would it be possible t
Sorry typo: the LP64 data modell is valid for the cygwin64 toolchain. That
means long is 8 bytes.
2018-04-17 17:17 GMT+02:00 Carl Kleffner :
> The 64-bit compiler within cygwin64 supports the ILP64 data model, see
> https://cygwin.com/cygwin-ug-net/programming.html
>
> 2018-04-17 17:12 GMT+02:00
The 64-bit compiler within cygwin64 supports the ILP64 data model, see
https://cygwin.com/cygwin-ug-net/programming.html
2018-04-17 17:12 GMT+02:00 Vincent Torri :
> On Tue, Apr 17, 2018 at 4:58 PM, wrote:
> > Hi,
> >
> > Why is it that on our x86_64 compilers sizeof long is only 4 ?
> > Does i
On Tue, Apr 17, 2018 at 4:58 PM, wrote:
> Hi,
>
> Why is it that on our x86_64 compilers sizeof long is only 4 ?
> Does it absolutely have to be that way ? Would it be possible to design
> a switch that would enable 8 byte longs ?
>
> The mismatch between linux and windows in this regard is
http://en.cppreference.com/w/cpp/language/types#Data_models
On Tue, Apr 17, 2018 at 3:59 PM wrote:
> Hi,
>
> Why is it that on our x86_64 compilers sizeof long is only 4 ?
> Does it absolutely have to be that way ? Would it be possible to
> design
> a switch that would enable 8 byte longs ?
Hi,
Why is it that on our x86_64 compilers sizeof long is only 4 ?
Does it absolutely have to be that way ? Would it be possible to design
a switch that would enable 8 byte longs ?
The mismatch between linux and windows in this regard is a real pita, and
I'm curious about the reason(s) that