foxpy / qc

Quad C: Custom Cruel C Crate
MIT License
4 stars 0 forks source link

reconsider supported platforms list #20

Closed foxpy closed 3 years ago

foxpy commented 3 years ago

Currently I support Windows MSVC, Windows MinGW, Linux GCC and Linux LLVM compiler suites (also Android LLVM just for fun). My library compiles strictly using C99 standard. The problem is that on Windows, MinGW does not use C99 compliant stdlib! It links to msvcrt.dll which is only C89 compliant. I should try using Windows LLVM suite with Windows SDK, which means better stdlib (not something stuck in past with C89). This should resolve at least a few problems: 1) I can move to modern C11 standard; 2) No more casts to long when trying to printf size_t; 3) Less scary stuff like here.