Compile fixes for newer compilers
- Updates for auto-build
- Fix type conversions from size_t (clang)
- Fix string operations / silence warnings locally (GCC)
- typedef all enums (avoid duplicate definition with GCC 11)
- Define variables in .c file (GCC 11)
- Fix function declation/definition mismatches (GCC 11)
- Comparison that would always result in true (GCC 12)
- Silence warnings in Visual Studio 19 / Windows 10 SDK. Note: requires Windows 10 SDK >= 10.0.19041
Edited by Karsten Suehring