Re: [PATCH 1/3] eal/windows: fix pedantic build

2023-01-05 Thread Tyler Retzlaff
On Thu, Jan 05, 2023 at 05:10:18PM +0100, Thomas Monjalon wrote: > MinGW GCC 12 shows an illegal pointer conversion > when included in a pedantic module: > > lib/eal/windows/include/pthread.h:137:41: error: > ISO C forbids conversion of object pointer to function pointer type > [-Werro

[PATCH 1/3] eal/windows: fix pedantic build

2023-01-05 Thread Thomas Monjalon
MinGW GCC 12 shows an illegal pointer conversion when included in a pedantic module: lib/eal/windows/include/pthread.h:137:41: error: ISO C forbids conversion of object pointer to function pointer type [-Werror=pedantic] 137 | hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTIN