diff options
author | Bradley Smith | 2008-03-07 18:46:31 +0000 |
---|---|---|
committer | Bradley Smith | 2008-03-07 18:46:31 +0000 |
commit | 371d4c3202de9fa52ab0ffd0a5726a18e0479a12 (patch) | |
tree | 4c299cb10acaf0717215a94a169c987fad87b7c0 /configure.ac | |
parent | Adjust bootstrap script to not autorun configure (diff) | |
download | gnurobots-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.ac | 2 |
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 |