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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=IvQARC7nAKII2HCc NgaKC59gv4aulQ9RTOcM/EUtcGa257r6Qc0Jv6qlUW6xjuvHIu5bdCOlEObxa9/B 68eKFi1IrK1Z9byV09Zi7zlYhfEt5rWSH7/zq0CA9rg3+C9EAXjGf4UBx/OksobF Lq5YuNFKC+q4vti1JG2s3IvpFUs= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=69Y2EZnKXx/R1SRLLxq66/ JvMVw=; b=qyUMdcUd5k7bUNZfKDKT0a1sCJCqonOR3hhyPtHi4/AAy2zGNFmN1K 0RIq7OSbg8AyrkwslL2be3njn5pH+wtoM/IbEcPN07yFbNjMK8m9iByjnEGkZqBN 5pi/JSshVsuvzei/GhkEq5J7I0EH5O91wflbMXj6/qBmyVJx0d8S0= 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=-4.0 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=H*M:online, one-liner, H*Ad:D*t-online.de, HX-HELO:sk:mailout X-HELO: mailout02.t-online.de Subject: Re: ssize_t To: cygwin AT cygwin DOT com References: From: =?UTF-8?Q?Hans-Bernhard_Br=c3=b6ker?= Message-ID: <75c5307a-2c10-dfbb-5c9d-08f52e3e0db8@t-online.de> Date: Thu, 22 Dec 2016 21:51:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Am 22.12.2016 um 20:39 schrieb Marco Atzeri: > building latest Imagemagick, the test for ssize_t is now failing with a > puzzling > > $ gcc ssize_t.c -o ssize_t > ssize_t.c: In function ‘main’: > ssize_t.c:115:22: error: expected expression before ‘)’ token > if (sizeof ((ssize_t))) > ^ > > any clue what to look for ? The test case reduces to a very simple one-liner: int bar = sizeof((int)); Replacing the double (()) by single () gets rid of the miscompilation. That looks like a bona fide GCC bug. -- 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