bug#72587: Getting compilation error

2024-08-12 Thread Paul Eggert
On 2024-08-11 17:55, Daniel Ruf via GNU gzip discussion and bug reports. wrote: dup2.c:80:11: error: cast from function call of type 'intptr_t' {aka 'long long int'} to non-matching type 'void *' [-Werror=bad-function-cast] 80 | if ((HANDLE) _get_osfhandle (fd) == INVALID_HANDLE_VALUE) | ^ cc1: a

bug#72587: Getting compilation error

2024-08-12 Thread GNU gzip discussion and bug reports.
Thanks, that was helpful. In the meantime I solved it with -Wno-bad-function-cast even if I often read, that the warning should not be ignored. Paul Eggert schrieb am Mo., 12. Aug. 2024, 10:23: > On 2024-08-11 17:55, Daniel Ruf via GNU gzip discussion and bug reports. > wrote: > > dup2.c:80:11: