Includes some changes from other recent PRs (#12, #17, #21). I will remove those as I work on this some more.
Main purpose of this PR is to fix all compilation warnings for the main library (vectorwar should be mostly untouched as its a bigger task to fix) and use the *.hpp file extension for C++ header files, as this is actually C++ code.
Formatting changes made it in by mistake, will remove before suggesting this gets merged; otherwise I'd propose introducing a .clang-format file and settling on a style that can be applied automatically.
With these changes one can build the library on windows with a full llvm toolchain including linker (lld-link.exe) on top of the Microsoft provided standard library. I'd like to get libc++ support done as well, but am having some trouble building it.
Brings in WS2tcpip.h to replace deprecated functions.
There are a lot of changes non-specific to the port that are a matter of style that I'd rather not pull (renaming files, putting { on a new line, etc). Could you please remove these when you restage?
Includes some changes from other recent PRs (#12, #17, #21). I will remove those as I work on this some more.
Main purpose of this PR is to fix all compilation warnings for the main library (vectorwar should be mostly untouched as its a bigger task to fix) and use the *.hpp file extension for C++ header files, as this is actually C++ code.
Formatting changes made it in by mistake, will remove before suggesting this gets merged; otherwise I'd propose introducing a .clang-format file and settling on a style that can be applied automatically.
With these changes one can build the library on windows with a full llvm toolchain including linker (lld-link.exe) on top of the Microsoft provided standard library. I'd like to get libc++ support done as well, but am having some trouble building it.
Brings in WS2tcpip.h to replace deprecated functions.