summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBradley Smith2008-03-07 18:46:31 +0000
committerBradley Smith2008-03-07 18:46:31 +0000
commit371d4c3202de9fa52ab0ffd0a5726a18e0479a12 (patch)
tree4c299cb10acaf0717215a94a169c987fad87b7c0 /configure.ac
parentAdjust bootstrap script to not autorun configure (diff)
downloadgnurobots-371d4c3202de9fa52ab0ffd0a5726a18e0479a12.tar.gz
Add -pedantic-errors and -Werror flags to compile, and fix code to comply.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 95835bb..9addd68 100644
--- a/configure.ac
+++ b/configure.ac
@@ -129,6 +129,8 @@ AC_CHECK_HEADERS(unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
+CFLAGS="-pedantic-errors -Werror"
+
dnl Done.
AC_CONFIG_FILES([Makefile
contrib/Makefile