summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-25 00:36:21 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-25 00:36:21 -0800
commitef976f0374d3a938c6d575cc42ca74f711b20e11 (patch)
tree6dc8b39ea4c7925e69e01b8f226a62ef08672ee2
parentf46a5e3cdea380494554b0bd11782c8a4dabdc66 (diff)
downloadtxr-ef976f0374d3a938c6d575cc42ca74f711b20e11.tar.gz
txr-ef976f0374d3a938c6d575cc42ca74f711b20e11.tar.bz2
txr-ef976f0374d3a938c6d575cc42ca74f711b20e11.zip
* configure: Use -Werror= on the missing prototypes and
strict prototypes warnings; these should be errors.
-rw-r--r--ChangeLog5
-rwxr-xr-xconfigure2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b0e6a79..94ba515d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2014-02-25 Kaz Kylheku <kaz@kylheku.com>
+ * configure: Use -Werror= on the missing prototypes and
+ strict prototypes warnings; these should be errors.
+
+2014-02-25 Kaz Kylheku <kaz@kylheku.com>
+
* configure: Added feature tests for makedev, link/symlink/readlink,
mkdir and mknod.
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=