This change enables -std=c99 (instead of -std=gnu99) when building the libraries using CMake,
similar to the alternative build using a Makefile directly.
Tests still uses -std=gnu99 to enable additional functions like strdup() and types like pthread_rwlock_t.
This makes it easier to add tests since a local compiler version might include different extensions compared to CI.
This change enables
-std=c99
(instead of-std=gnu99
) when building the libraries using CMake, similar to the alternative build using a Makefile directly.Tests still uses
-std=gnu99
to enable additional functions like strdup() and types like pthread_rwlock_t. This makes it easier to add tests since a local compiler version might include different extensions compared to CI.