From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 130038 invoked by alias); 9 Jan 2017 16:59:37 -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 130009 invoked by uid 89); 9 Jan 2017 16:59:36 -0000 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 Received: from mail-n.franken.de (HELO drew.franken.de) (193.175.24.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 09 Jan 2017 16:59:35 +0000 Received: from aqua.hirmke.de (aquarius.franken.de [193.175.24.89]) (Authenticated sender: aquarius) by mail-n.franken.de (Postfix) with ESMTPSA id 24B7D721E280D for ; Mon, 9 Jan 2017 17:59:33 +0100 (CET) Received: from calimero.vinschen.de (calimero.vinschen.de [192.168.129.6]) by aqua.hirmke.de (Postfix) with ESMTP id 926405E023C for ; Mon, 9 Jan 2017 17:59:32 +0100 (CET) Received: by calimero.vinschen.de (Postfix, from userid 500) id 90782A804B0; Mon, 9 Jan 2017 17:59:32 +0100 (CET) Date: Mon, 09 Jan 2017 16:59:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: ushort definition Message-ID: <20170109165932.GA26337@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6TrnltStXW4iwmi0" Content-Disposition: inline In-Reply-To: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-SW-Source: 2017-01/txt/msg00058.txt.bz2 --6TrnltStXW4iwmi0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1332 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 > >=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" Content-length: 819 -----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--