Re: ushort definition

2017-01-09 Thread Marco Atzeri
On 09/01/2017 23:30, Hans-Bernhard Bröker wrote: Am 09.01.2017 um 20:46 schrieb Marco Atzeri: On 09/01/2017 19:01, Hans-Bernhard Bröker wrote: the "#define ushort unsigned short" is in the /usr/include/jasper/jas_config.h It seems jasper configuration had not defined __MISC_VISIBLE, while g

Re: ushort definition

2017-01-09 Thread Hans-Bernhard Bröker
Am 09.01.2017 um 20:46 schrieb Marco Atzeri: On 09/01/2017 19:01, Hans-Bernhard Bröker wrote: That expectation would only be justified if you added the option `-dD' to your command. `-C' only preserves comments, but not the #define in the source. Thanks Hans, I was missing that. FWIW, in

Re: ushort definition

2017-01-09 Thread Marco Atzeri
On 09/01/2017 19:01, Hans-Bernhard Bröker wrote: Am 09.01.2017 um 18:48 schrieb Marco Atzeri: On 09/01/2017 17:59, Corinna Vinschen wrote: Some #define ushort unsigned short perhaps? I expect should appear on g++ -C -E output, That expectation would only be justified if you added the

Re: ushort definition

2017-01-09 Thread Hans-Bernhard Bröker
Am 09.01.2017 um 18:48 schrieb Marco Atzeri: On 09/01/2017 17:59, Corinna Vinschen wrote: Some #define ushort unsigned short perhaps? I expect should appear on g++ -C -E output, That expectation would only be justified if you added the option `-dD' to your command. `-C' only preser

Re: ushort definition

2017-01-09 Thread Marco Atzeri
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; /* Syst

Re: ushort definition

2017-01-09 Thread Corinna Vinschen
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

ushort definition

2017-01-09 Thread Marco Atzeri
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 intuint; /* System V compatibil