This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ushort definition
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 9 Jan 2017 17:47:53 +0100
- Subject: ushort definition
- Authentication-results: sourceware.org; auth=none
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