X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; q=dns; s=default; b=dBljQU5uVX6j0tMlNovkKswBGPnV
	2LHE/A3aOpg84WNW265vIF9fjsUn48OByeeVS4Faln+ZrMdGyhQybn3aCBDphpkR
	ldODBXVY9rey92Zq0n+FnjZCghKFCDG9NTxUgXtwbW0st7e/gZL8LfhNmfl6TPuw
	YNHUvGnCR654MrM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:content-type:mime-version:subject:from
	:in-reply-to:date:content-transfer-encoding:message-id
	:references:to; s=default; bh=Xk3SDh88qa7vwnD919wFEB5IJmA=; b=ku
	y4fGvJAH+leLL1ro1eD2noIXellxuOTu4txCDa8b0zMC3vh7Z5E8b6Ex3huUoT5s
	FWQUuQ23vXrQ+0ZqfI0QzZFwhB23dVZWXtsyM/eYcpDNB8GeJiu9VjJ/I/eVW3gw
	FhWRUmx114cEpy1C3FEuIHrREekvN38mpDF4t5BBk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
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 <wyml@etr-usa.com>
In-Reply-To: <20160622153652.GB15373@calimero.vinschen.de>
Date: Wed, 22 Jun 2016 10:01:47 -0600
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
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5MG2CR8027828

On Jun 22, 2016, at 9:36 AM, Corinna Vinschen <corinna-cygwin@cygwin.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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


