On 09/01/2017 17:59, Corinna Vinschen wrote:
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
I expect should appear on g++ -C -E output,
but instead nothing
grep "ushort" ../o/.libs/jpeg2000_vsil_io.E
--
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