Closed svladykin closed 8 months ago
Merging #127 (e0188e7) into master (e7134b7) will not change coverage. The diff coverage is
100.00%
.
Hey @svladykin, hope you are doing well! Any idea why we don't see these warnings on CI? Maybe we need to compile release version to see it?
I guess this is because we don't have any of these flags enabled for Windows:
if (NOT CMAKE_C_COMPILER_ID MATCHES "MSVC")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -Wextra -pedantic -pthread -Werror")
endif ()
Not sure if they will actually work for MSVC though.
I experimented with cross-compilation for Windows on Linux:
This PR is based on Mingw and Zig CC output.
Ok, I'll take a look that later.
pragma
only for MSVCINVALID_SOCKET
instead ofSOCKET_ERROR
where appropriate