From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81101 invoked by alias); 22 Dec 2016 20:51:32 -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 81088 invoked by uid 89); 22 Dec 2016 20:51:31 -0000 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 Received: from mailout02.t-online.de (HELO mailout02.t-online.de) (194.25.134.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Dec 2016 20:51:30 +0000 Received: from fwd38.aul.t-online.de (fwd38.aul.t-online.de [172.20.26.138]) by mailout02.t-online.de (Postfix) with SMTP id E36A241A81E5 for ; Thu, 22 Dec 2016 21:51:26 +0100 (CET) Received: from [192.168.2.28] (E2PRFTZlQhWziOUSShtuQ5EWJ0rSbgXxlh3HBYJSNg6RpNBTSYjwOvEP-r86gMPQRx@[91.59.28.1]) by fwd38.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1cKAKf-1hsvc80; Thu, 22 Dec 2016 21:51:21 +0100 Subject: Re: ssize_t To: cygwin@cygwin.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 20:51:00 -0000 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 X-SW-Source: 2016-12/txt/msg00253.txt.bz2 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