Skip to content

Commit

Permalink
Make compiler fail if implicit-function-declaration is encountered.
Browse files Browse the repository at this point in the history
  • Loading branch information
atoppi committed Jan 29, 2021
1 parent dfa8016 commit 213b6c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ CFLAGS="$CFLAGS \
-Wstrict-prototypes \
-Wswitch-default \
-Wunused \
-Wwrite-strings"
-Wwrite-strings \
-Werror=implicit-function-declaration"

case "$CC" in
clang*)
Expand Down

0 comments on commit 213b6c7

Please sign in to comment.