X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 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 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> To: cygwin AT cygwin DOT 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 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