From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ushort definition
Date: Mon, 09 Jan 2017 16:59:00 -0000 [thread overview]
Message-ID: <20170109165932.GA26337@calimero.vinschen.de> (raw)
In-Reply-To: <9d119899-88ca-c530-c1b4-1a5613dc6daa@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2017-01-09 16:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 16:48 Marco Atzeri
2017-01-09 16:59 ` Corinna Vinschen [this message]
2017-01-09 17:48 ` Marco Atzeri
2017-01-09 18:02 ` Hans-Bernhard Bröker
2017-01-09 19:47 ` Marco Atzeri
2017-01-09 22:31 ` Hans-Bernhard Bröker
2017-01-09 23:05 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170109165932.GA26337@calimero.vinschen.de \
--to=corinna-cygwin@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).