delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/09/12:48:58

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=JKqBl4ueu+3/Q/M5
iCETt0XStnGwLFLtUSfkqPvh2eQ8hZyRs+HACjVOb9VF+jRIrZC+th9L/8uxbVR6
HS56KQfK2+vipGTK2geEh0Lzoxfqt+O1UrI1wSQjRSyjgicTCsKKfAz6CGhgYpKx
ReL78Xl0vR4yiQPlvcds9dGG6Mc=
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=6qU5+D+g+9umGvSmlt45FW
h7cR0=; b=M1HNoBFKjkR+Lr9yuhFv5OPziF/VOEmMHbPb+jFporxaVmsAqrh1oa
oElb8v3A5WNvDrvNCNmvevG+pXP+JRU8CfAl3ebBvW2jpfcEq6tU3Qa18GuEIIfc
ZNMUp3AEt4I296oEPj78wv7XSuOrH6Y6N5LtRV2d/zZ9yc58mLoNw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-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
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)
Subject: Re: ushort definition
To: cygwin AT cygwin DOT com
References: <9d119899-88ca-c530-c1b4-1a5613dc6daa AT gmail DOT com> <20170109165932 DOT GA26337 AT calimero DOT vinschen DOT de>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <0446748b-9e3d-a3bc-1c2f-e5e556f735c2@gmail.com>
Date: Mon, 9 Jan 2017 18:48:26 +0100
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>
X-IsSubscribed: yes

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
>> <empty>
>>
>> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019