From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90931 invoked by alias); 9 Jan 2017 17:48:45 -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 90793 invoked by uid 89); 9 Jan 2017 17:48:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:1351 X-HELO: mail-wj0-f178.google.com Received: from mail-wj0-f178.google.com (HELO mail-wj0-f178.google.com) (209.85.210.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jan 2017 17:48:39 +0000 Received: by mail-wj0-f178.google.com with SMTP id ew7so55640084wjc.3 for ; Mon, 09 Jan 2017 09:48:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=cGqOqO2BiQZUSGVtI55iMgK00duTF83j9lRqCgVMLTM=; b=ZxakT5gSLmCz0sPUzgZd0McfOAy6d9CmEWsJVAdFxaFojsi4Oh0TOxRConRFoj3G0O pClD2KcX6TfyZeFheBwgABJhvcgiAdLWKawSsSWCRHysZ3Wp4Fa6vIOCvU5AqPJMdrnA cpkpVKdhXuLYKUrxTM6pp0ZnQpFHR50Cs+C1rolg1nGZRNQHmPPTQ9n+jt6YSc9os6hx 2TlFXWBO/I3d+D6ZdK4iPU75mEDlPXt31XNhy8Kux5B7L7Ap/5Fz9JPbZwcuqJ7lESmX 4M8LOS7mQSaRqk1jNZ9PWxFqJ/9X0iFrD10EApAJmsCj0q6zsdQvU4HPJgJAQJ5DZw0j /9wA== X-Gm-Message-State: AIkVDXJwmo66ClZCzmbeeVC8s4+gmlRzmK+dN4KeMGg9HZgJ/bNpljEzVzLkem+Bjdg6iQ== X-Received: by 10.194.31.67 with SMTP id y3mr4867241wjh.45.1483984116550; Mon, 09 Jan 2017 09:48:36 -0800 (PST) Received: from [192.168.2.108] (p4FDB3EB2.dip0.t-ipconnect.de. [79.219.62.178]) by smtp.googlemail.com with ESMTPSA id k11sm19992464wmb.18.2017.01.09.09.48.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 09:48:35 -0800 (PST) Subject: Re: ushort definition To: cygwin@cygwin.com References: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com> <20170109165932.GA26337@calimero.vinschen.de> From: Marco Atzeri Message-ID: <0446748b-9e3d-a3bc-1c2f-e5e556f735c2@gmail.com> Date: Mon, 09 Jan 2017 17:48:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <20170109165932.GA26337@calimero.vinschen.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00060.txt.bz2 On 09/01/2017 17:59, Corinna Vinschen wrote: > On Jan 9 17:47, Marco Atzeri wrote: >> While building latest gdal >> >> the following bloc of >> /usr/include/sys/types.h >> >> ----------------------------------------------------------------------- >> #if __MISC_VISIBLE >> typedef unsigned short ushort; /* System V compatibility */ >> typedef unsigned int uint; /* System V compatibility */ >> typedef unsigned long ulong; /* System V compatibility */ >> #endif >> ------------------------------------------------------------------------- >> >> seems to cause a puzzling recursive definition >> (as reported by g++ -C -E) >> >> $ grep "System V" ../o/.libs/jpeg2000_vsil_io.E >> typedef unsigned short unsigned short; /* System V compatibility */ >> typedef unsigned int unsigned int; /* System V compatibility */ >> typedef unsigned long unsigned long; /* System V compatibility */ >> * from System V, which stupidly took internal interface macros and >> >> however I don't see how the definition is read two times >> or where ushort was previoulsy defined. >> >> grep "ushort" ../o/.libs/jpeg2000_vsil_io.E >> >> >> What I am missing ? > > Some > > #define ushort unsigned short > > perhaps? > > > Corinna > I expect should appear on g++ -C -E output, but instead nothing grep "ushort" ../o/.libs/jpeg2000_vsil_io.E -- 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