> Date: Thu, 8 Jun 2023 14:44:35 +0200
> From: Torbjorn SVENSSON
>
> /build/gnu-make_4.4.1-45-g07fcee35/src/function.c: In function
> 'windows32_openpipe':
> /build/gnu-make_4.4.1-45-g07fcee35/src/function.c:1676:12: error: cast from
> function call of type 'intptr_t {aka long long int}' to non
On 2023-06-08 16:14, Eli Zaretskii wrote:
Date: Thu, 8 Jun 2023 14:44:35 +0200
From: Torbjorn SVENSSON
/build/gnu-make_4.4.1-45-g07fcee35/src/function.c: In function
'windows32_openpipe':
/build/gnu-make_4.4.1-45-g07fcee35/src/function.c:1676:12: error: cast from
function call of type 'int
> Date: Thu, 8 Jun 2023 16:19:04 +0200
> CC:
> From: Torbjorn SVENSSON
>
> On 2023-06-08 16:14, Eli Zaretskii wrote:
> >> Date: Thu, 8 Jun 2023 14:44:35 +0200
> >> From: Torbjorn SVENSSON
> >>
> >> /build/gnu-make_4.4.1-45-g07fcee35/src/function.c: In function
> >> 'windows32_openpipe':
> >> /
On 2023-06-08 17:05, Eli Zaretskii wrote:
Date: Thu, 8 Jun 2023 16:19:04 +0200
CC:
From: Torbjorn SVENSSON
On 2023-06-08 16:14, Eli Zaretskii wrote:
Date: Thu, 8 Jun 2023 14:44:35 +0200
From: Torbjorn SVENSSON
/build/gnu-make_4.4.1-45-g07fcee35/src/function.c: In function
'windows32_ope
On Thu, 2023-06-08 at 20:39 +0200, Torbjorn SVENSSON wrote:
> > If you get the error about casting _get_osfhandle to HANDLE only
> > for the 32-bit build, and you don't care about that build, then
> > just ignore it. But if that error is emitted for the 64-bit build,
> > then there's something str
> Date: Thu, 8 Jun 2023 20:39:43 +0200
> CC:
> From: Torbjorn SVENSSON
>
> > If you get the error about casting _get_osfhandle to HANDLE only for
> > the 32-bit build, and you don't care about that build, then just
> > ignore it. But if that error is emitted for the 64-bit build, then
> > there
> in some MinGW64 header files?
Easily eliminated:
martind@sirius:~/tmp/svensson-2023-06-08$ cat make.c
#include
intptr_t _get_osfhandle(int);
typedef void* HANDLE;
HANDLE fn() {
return (HANDLE)_get_osfhandle(0);
}
martind@sirius:~/tmp/svensson-2023-06-08$ gcc -c -Wbad-function-cast make.c
m