public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ushort definition
@ 2017-01-09 16:48 Marco Atzeri
  2017-01-09 16:59 ` Corinna Vinschen
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Atzeri @ 2017-01-09 16:48 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-09 23:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-09 16:48 ushort definition Marco Atzeri
2017-01-09 16:59 ` Corinna Vinschen
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

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