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

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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=sAU
F3LBptxKQXV+hvpaCYigvvdcABzPb4CgI3v1s6HtrttY5R+0e9paWxWkUOHHxmf1
nXoMCOeCq2KCCWOWWfBbrNgDnS/doo18b9qarh4T9nuwLI+b2pkbEKBIU1vLpsGr
zMoiVoMltkjIjsrt+SglGCq4llODgHVQWiJ0+6Bk=
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:from:subject:to:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=1yd++dGXa
N8leVLmDhzmUC77hrc=; b=dGBN6/ZgIM1tRXOe1IrkBt8CuxRF2cd/jgDh9Z6Zx
6Yk7a+kX/JICXBtG51ACvnd2vZnbWKeGeRINJ9bgm6TCV0VOFXvBdAhXpYh2ZccL
UzS666gnta5AhYSfPa97U0nZ8gUApJMqmZzOdqipeXhoK7r3q1fnV7laT3CAT9G8
90=
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=-0.8 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=marco, Marco, bloc, H*M:88ca
X-HELO: mail-wj0-f179.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=zD0hzCsdFugVysTgqvyTCQK9WR4dICwuBl5I3Fqbtv8=; b=igxCF2lAx2m/G9FsYSjPreFYP27Yth3pVBcO0xvqCVoqBSclhzvE8i5E35bdwREAbm c6wj1ZvPHQhWesWlOdbJ948N2UTSK8sqqrNVoa9CSYqUQ2RvnyeB3sgtaaD525YOy4eX mM13umhukITo5AcZkm5jWJspmCnewqpHYtCLBpIhRPTUGFJ2BxqAS1PujcqN8hAA9wb5 U+IsZfwEpJFXvuhZgPzK8DFLd4CklcI94Cj5bSquMI9RBSeORZnxHnlU14ofPQGQftMG xrPl8A1HGa4/fwsUBjsOi5oQh5vQ7dhpstSfumbyzpQF3y8fJTy4bnadPPEe2DZ2QoBj 52fQ==
X-Gm-Message-State: AIkVDXJDN4mdLx2zngRUAZj+ukXuwuO2ltbAghq8lSOMiAZAFqTtty0vwaGSfjdAE1vwXg==
X-Received: by 10.194.44.74 with SMTP id c10mr6925107wjm.72.1483980484423; Mon, 09 Jan 2017 08:48:04 -0800 (PST)
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Subject: ushort definition
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Message-ID: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com>
Date: Mon, 9 Jan 2017 17:47:53 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
X-IsSubscribed: yes

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 ?

Regards
Marco

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