Re: Cygwin 64bits gcc produces erroneous constants with the win32 headers.

2016-04-15 Thread Nicolas Noble
> I can see how this was confusing, yes. I was trying to make the point that Dang I fail with e-mails lately. The rest of the sentence is "mingw64's compiler has sizeof(long) == 4". -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentatio

Re: Cygwin 64bits gcc produces erroneous constants with the win32 headers.

2016-04-15 Thread Nicolas Noble
>> Right, but that isn't the same thing. I am well aware of the various >> issues tied with sizeof(long), > > Sorry, I wasn't aware of this since you wrote something along the lines > of gcc should make sizeof(long) == 4 which just doesn't make sense in an > LP64 environment. I can see how this wa

Re: Cygwin 64bits gcc produces erroneous constants with the win32 headers.

2016-04-15 Thread Nicolas Noble
On Fri, Apr 15, 2016 at 12:23 PM, Corinna Vinschen wrote: > On Apr 15 12:05, Nicolas Noble wrote: >> I originally entered a bug on msys2's bug tracker, but it turns out >> they only repackage cygwin packages, and I have verified this is an >> issue on cygwin too, so I

Cygwin 64bits gcc produces erroneous constants with the win32 headers.

2016-04-15 Thread Nicolas Noble
I originally entered a bug on msys2's bug tracker, but it turns out they only repackage cygwin packages, and I have verified this is an issue on cygwin too, so I am now sending that report here. Original entry: https://github.com/Alexpux/MSYS2-packages/issues/555 Basically, the 64 bits "gcc-co