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
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: