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

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=H/QJ++/oGLd2JvtjNNqNVCsIcE46SHKpuzE/jTZZNHRO0foHMJTLJ
20mle1yoLMcmoNuUg39MaNe9vfgPmvG0N3VMuXYRp9Ql0dp100GXjQg6XyY4Kkgx
CIT5JNnbKNx60Q6FRQ6dmzRpbpIDQtJlnB38qsfjoye32X3v6y04jw=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=d/QUQMB0CV9cVSIVh3C94KDaUFI=; b=U219VNpMGZojNVOnHZ7arTEIm3NJ
qUFxmK/V/F0fO0NIUdIml7KFY8Rs9hvJgReKrZG+vb7/3uRxsPxumrsZR+AimxeW
ZsZ81EMhvN2CZ8JfiyJqPebe2F6saVrpSPZf+Np/tp3GRVvh1gvvJ4RZXI4iRuix
ekEmlgOHmw+b0q0=
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=-98.4 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_ASCII_DIVIDERS,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=marco, Marco, atzeri, Atzeri
X-HELO: drew.franken.de
Date: Mon, 9 Jan 2017 17:59:32 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ushort definition
Message-ID: <20170109165932.GA26337@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <9d119899-88ca-c530-c1b4-1a5613dc6daa AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan  9 17:47, Marco Atzeri wrote:
> While building latest gdal
>=20
> the following bloc of
> /usr/include/sys/types.h
>=20
> -----------------------------------------------------------------------
> #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
> -------------------------------------------------------------------------
>=20
> seems to cause a puzzling recursive definition
> (as reported by g++ -C -E)
>=20
> $ 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
>=20
> however I don't see how the definition is read two times
> or where ushort was previoulsy defined.
>=20
> grep "ushort" ../o/.libs/jpeg2000_vsil_io.E
> <empty>
>=20
> What I am missing ?

Some

  #define ushort unsigned short

perhaps?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--6TrnltStXW4iwmi0
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYc8F0AAoJEPU2Bp2uRE+gNb4P/A6LmE2u4QDQjzu67a9+t17i
LRgpw/rq+9g8iemm7pPqa3+TQXWRb2tfHTa/9GCSMFsdMlN7wrYi0XG1dMC7OWLR
DQpQKoUiiG6I4fVnvD5Qfi7nYWB6j4Css083SklzmiQB+sH3K8Je4rVGmYTg2gT9
iO1OQ1HfP0aBPuPSNrg4tF2fA/DcKXPoinTb73g4DsI6Bq062le9dU3szK7eX58Y
CY9Z6veqlekBUBH3tBaKuTsDsBlZ1qxBt3L6ZqfNQfZdWGqlAxVtltrkVxmFCX6z
RKk7o+FM0g120Pm1WYlcRIe4S0gxskujmn5h0lXal2pnG9GA8YWhpgYxddKBY4Ua
reYfRSiwsJ2qweDJnNiosDNTnqQKxekzKe3Qoqi7B5FnOVZbmO2V7uN+HtrBk026
D9G8ENzd25YPSUIfgDgxhquysoJGwSwCXcfSCC1p8BxA2JolmFafXMVCIHRXwz8U
mKlk5lW1gZyww8zN/A2eUP6+EKtqeGTmyc+cYqiWgxxJ/27S9JxP0933H45EIaV5
VucruvUM0zWXmqzpRrNEfMVli2H5eZvQs+qg5qI91NIpgafrLp7qpynEtLsnDYat
WpSKTaiS3hP8CXg4OhknAWmv4wlwtqAy6wtlol8ISPKY64MQjR8VFe8/ZTnxrxhU
z/+fkb/6sIPjk5kx5Sux
=WeAN
-----END PGP SIGNATURE-----

--6TrnltStXW4iwmi0--

- Raw text -


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