enable gcc warnings for C11 specific extensions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 96bdb4c..bf8d8f5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,6 +234,7 @@ ELSE ()
enable_warnings(unused-function)
enable_warnings(int-conversion)
enable_warnings(c11-extensions)
+ enable_warnings(c99-c11-compat)
# MinGW uses gcc, which expects POSIX formatting for printf, but
# uses the Windows C library, which uses its own format specifiers.