This PR:
- fixes C4005 "macro redefinition" MSVC warnings in examples
- removes warning suppressions in both build systems, Autotools-based and CMake-based ones
This PR:
16 | @@ -17,7 +17,9 @@ 17 | */ 18 | 19 | #if defined(_WIN32) 20 | +#define WIN32_NO_STATUS 21 | #include <windows.h> 22 | +#undef WIN32_NO_STATUS 23 | #include <ntstatus.h>
This is so obscure. Perhabs add a comment here.
Mind suggesting a good wording for a comment?
utACK dc0657c7622f5a13afc3876eca7e2fc7cabb9a10
ACK dc0657c7622f5a13afc3876eca7e2fc7cabb9a10 I tested that the examples compile without warnings on MSVC 19.34.31942