This is the mail archive of the
mailing list for the Cygwin project.
Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2
- From: Warren Young <wyml at etr-usa dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 22 Jun 2016 10:01:47 -0600
- Subject: Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2
- Authentication-results: sourceware.org; auth=none
- References: <953793912 dot 12352673 dot 1466549681179 dot JavaMail dot yahoo dot ref at mail dot yahoo dot com> <953793912 dot 12352673 dot 1466549681179 dot JavaMail dot yahoo at mail dot yahoo dot com> <2118813453 dot 12281992 dot 1466559153922 dot JavaMail dot yahoo at mail dot yahoo dot com> <0bafcf1a-590e-3e30-679f-117cd4aeba7a at gmail dot com> <0FB21113-2A8C-4C63-9889-C0E3254C6E5A at etr-usa dot com> <20160622153652 dot GB15373 at calimero dot vinschen dot de>
On Jun 22, 2016, at 9:36 AM, Corinna Vinschen <email@example.com> wrote:
>> 64-bit Windows is LLP64, while 64-bit Linux is LP64 on the same hardware.
> s/Linux/Linux and Cygwin/
Well, that was unexpected.
Still, you could get similar problems. ifdefs for portable sized-integer types are a particularly rich source of bugs, especially ones where #ifdef WINDOWS precedes any test that could match Cygwin, since WINDOWS is defined in Cygwinâs GCC, and as this exchange shows, Cygwinâs GCC doesnât always behave exactly the same as Visual C++.
Any such case will compile under Cygwin. You need to reorder such cases so a the test for WINDOWS is after one matching Cygwin, as a rule.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple