I applied the patch locally and can confirm it fixed the libvpx build.
Thank you very much for the quick diagnosis and fix!
Jeremy
On Fri, May 16, 2025 at 9:30 AM LIU Hao wrote:
>
> We have declarations such as
>
> WINPTHREAD_API int sem_timedwait64(sem_t * sem, const struct _timespec64
> *
在 2025-5-16 16:21, Martin Storsjö 写道:
LGTM
Thanks. Pushed now.
--
Best regards,
LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourcefor
在 2025-5-16 16:22, Martin Storsjö 写道:
On Thu, 8 May 2025, LIU Hao wrote:
diff --git a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c b/mingw-w64-libraries/winpthreads/
src/libgcc/dll_math.c
index 77bb1fea3..fe2ae36f8 100644
--- a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
+++
On Thu, 8 May 2025, LIU Hao wrote:
diff --git a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
b/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
index 77bb1fea3..fe2ae36f8 100644
--- a/mingw-w64-libraries/winpthreads/src/libgcc/dll_math.c
+++ b/mingw-w64-libraries/winpthreads/src/l
On Fri, 16 May 2025, LIU Hao wrote:
We have declarations such as
WINPTHREAD_API int sem_timedwait64(sem_t * sem, const struct _timespec64
*t);
When `struct _timespec64` is not forward-declared, this function declaration
declares a new struct whose scope is limited to that function. In this
在 2025-5-8 21:57, LIU Hao 写道:
From 4d36a88ac4ce2de382bb198ee5b788c6b51777fd Mon Sep 17 00:00:00 2001
From: LIU Hao
Date: Thu, 8 May 2025 21:55:36 +0800
Subject: [PATCH] winpthreads: Replace K&R declarations with ISO ones
Signed-off-by: LIU Hao
---
.../winpthreads/src/libgcc/dll_math.c
We have declarations such as
WINPTHREAD_API int sem_timedwait64(sem_t * sem, const struct _timespec64 *t);
When `struct _timespec64` is not forward-declared, this function declaration
declares a new struct whose scope is limited to that function. In this case it
is not the same type as the on