Skip to content

Commit a826570

Browse files
committed
CMakeLists.txt: handle -Wstrict-prototypes warnings as an error
1 parent db00bfe commit a826570

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ option(USE_GETTEXT "Enable interantionalization" OFF)
1818
add_compile_options(-Wall -pedantic -Wextra)
1919
add_compile_options(-Werror=unused-label)
2020
add_compile_options(-Werror=unused-parameter)
21+
add_compile_options(-Werror=strict-prototypes)
2122

2223
set(SOURCES
2324
colors.c

0 commit comments

Comments
 (0)