[client] enforce building with -Wstrict-prototypes

This commit is contained in:
Tudor Brindus 2022-02-27 16:17:32 -05:00 committed by Geoffrey McRae
parent 3189c7bcd6
commit 88d60d4b3d

View File

@ -66,6 +66,7 @@ add_compile_options(
"-Wextra" "-Wextra"
"-Wno-sign-compare" "-Wno-sign-compare"
"-Wno-unused-parameter" "-Wno-unused-parameter"
"-Wstrict-prototypes"
"$<$<C_COMPILER_ID:GNU>:-Wimplicit-fallthrough=2>" "$<$<C_COMPILER_ID:GNU>:-Wimplicit-fallthrough=2>"
"-Werror" "-Werror"
"-Wfatal-errors" "-Wfatal-errors"