Setup: Windows 11, cmake, Visual Studio 2022
When I try rebuilding the ALL_BUILD target from the master branch, I get the following warnings:
Warning C4191 'type cast': unsafe conversion from 'FARPROC' to 'NTSTATUS (__cdecl *)(HANDLE,PIO_STATUS_BLOCK,PIO_STATUS_BLOCK)' Making a function call using the resulting pointer may cause your program to fail. wepoll.dll C:\Users\raymondzhao\work\wepoll\src\nt.c 36
The build then stops because of the following errors:
Error C2220 the following warning is treated as an error wepoll.dll C:\Users\raymondzhao\work\wepoll\src\nt.c 36
Setup: Windows 11, cmake, Visual Studio 2022
When I try rebuilding the ALL_BUILD target from the master branch, I get the following warnings:
Warning C4191 'type cast': unsafe conversion from 'FARPROC' to 'NTSTATUS (__cdecl *)(HANDLE,PIO_STATUS_BLOCK,PIO_STATUS_BLOCK)' Making a function call using the resulting pointer may cause your program to fail. wepoll.dll C:\Users\raymondzhao\work\wepoll\src\nt.c 36
The build then stops because of the following errors:
Error C2220 the following warning is treated as an error wepoll.dll C:\Users\raymondzhao\work\wepoll\src\nt.c 36