Re: type mismatch on cpuset.h

2023-03-06 Thread Mark Geisert via Cygwin
Hi Corinna, Marco, I will look into this shortly. Sorry for the inconvenience. ..mark On Mon, 6 Mar 2023, Corinna Vinschen wrote: Hi Mark, On Mar 6 07:57, Marco Atzeri via Cygwin wrote: Hi, building latest gdal I noticed a type mismatch, that forced me to build with "-fpermissive" on /u

Re: type mismatch on cpuset.h

2023-03-06 Thread Corinna Vinschen via Cygwin
Hi Mark, On Mar 6 07:57, Marco Atzeri via Cygwin wrote: > Hi, > > building latest gdal I noticed a type mismatch, that forced me to build > with "-fpermissive" > > on /usr/include/sys/cpuset.h > > #define CPU_ALLOC(num) __builtin_malloc (CPU_ALLOC_SIZE(num)) > > > but on > https://linu

type mismatch on cpuset.h

2023-03-05 Thread Marco Atzeri via Cygwin
Hi, building latest gdal I noticed a type mismatch, that forced me to build with "-fpermissive" on /usr/include/sys/cpuset.h #define CPU_ALLOC(num) __builtin_malloc (CPU_ALLOC_SIZE(num)) but on https://linux.die.net/man/3/cpu_alloc cpu_set_t *CPU_ALLOC(int num_cpus) so void* versus