Skip to content

Commit b018958

Browse files
committed
enable gcc warnings for C11 specific extensions
1 parent cc4f8bc commit b018958

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ ELSE ()
234234
enable_warnings(unused-function)
235235
enable_warnings(int-conversion)
236236
enable_warnings(c11-extensions)
237+
enable_warnings(c99-c11-compat)
237238

238239
# MinGW uses gcc, which expects POSIX formatting for printf, but
239240
# uses the Windows C library, which uses its own format specifiers.

0 commit comments

Comments
 (0)