From ef976f0374d3a938c6d575cc42ca74f711b20e11 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 25 Feb 2014 00:36:21 -0800 Subject: * configure: Use -Werror= on the missing prototypes and strict prototypes warnings; these should be errors. --- ChangeLog | 5 +++++ configure | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6b0e6a79..94ba515d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-25 Kaz Kylheku + + * configure: Use -Werror= on the missing prototypes and + strict prototypes warnings; these should be errors. + 2014-02-25 Kaz Kylheku * configure: Added feature tests for makedev, link/symlink/readlink, diff --git a/configure b/configure index cdc1e3a1..bdd20873 100755 --- a/configure +++ b/configure @@ -83,7 +83,7 @@ yacc_given= nm='$(cross)$(tool_prefix)nm' opt_flags=-O2 lang_flags='-ansi -D_BSD_SOURCE -D_POSIX_C_SOURCE=199309L' -diag_flags='-Wall -Wmissing-prototypes -Wstrict-prototypes' +diag_flags='-Wall -Werror=missing-prototypes -Werror=strict-prototypes' debug_flags=-g inline= platform_flags= -- cgit v1.2.3