From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30957 invoked by alias); 22 Jun 2016 16:02:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30938 invoked by uid 89); 22 Jun 2016 16:01:59 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:765, WINDOWS, H*r:envelope-sender X-HELO: etr-usa.com Received: from etr-usa.com (HELO etr-usa.com) (130.94.180.135) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jun 2016 16:01:49 +0000 Received: (qmail 96598 invoked by uid 13447); 22 Jun 2016 16:01:48 -0000 Received: from unknown (HELO polypore.west.etr-usa.com) ([73.26.17.49]) (envelope-sender ) by 130.94.180.135 (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 22 Jun 2016 16:01:48 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Piping on 64-bit Cygwin was Re: [ANNOUNCEMENT] llvm 3.7.1-2 From: Warren Young In-Reply-To: <20160622153652.GB15373@calimero.vinschen.de> Date: Wed, 22 Jun 2016 18:06:00 -0000 Content-Transfer-Encoding: quoted-printable Message-Id: <6741E506-F227-432B-B66C-1BABFB373068@etr-usa.com> References: <953793912.12352673.1466549681179.JavaMail.yahoo.ref@mail.yahoo.com> <953793912.12352673.1466549681179.JavaMail.yahoo@mail.yahoo.com> <2118813453.12281992.1466559153922.JavaMail.yahoo@mail.yahoo.com> <0bafcf1a-590e-3e30-679f-117cd4aeba7a@gmail.com> <0FB21113-2A8C-4C63-9889-C0E3254C6E5A@etr-usa.com> <20160622153652.GB15373@calimero.vinschen.de> To: cygwin@cygwin.com X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00299.txt.bz2 On Jun 22, 2016, at 9:36 AM, Corinna Vinschen w= rote: >=20 >> 64-bit Windows is LLP64, while 64-bit Linux is LP64 on the same hardware. >=20 > s/Linux/Linux and Cygwin/ Well, that was unexpected. Still, you could get similar problems. ifdefs for portable sized-integer t= ypes are a particularly rich source of bugs, especially ones where #ifdef W= INDOWS precedes any test that could match Cygwin, since WINDOWS is defined = in Cygwin=E2=80=99s GCC, and as this exchange shows, Cygwin=E2=80=99s GCC d= oesn=E2=80=99t 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 FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple