[geocode-glib] build: Add more warnings
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] build: Add more warnings
- Date: Mon, 9 May 2011 14:59:17 +0000 (UTC)
commit ba279704edba0db13ebd3baa8e4a248c2ab9ed53
Author: Bastien Nocera <hadess hadess net>
Date: Mon May 9 15:58:24 2011 +0100
build: Add more warnings
configure.ac | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 95c4751..2cdf59f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,16 @@ GNOME_COMPILE_WARNINGS([maximum])
GNOME_CXX_WARNINGS
GNOME_MAINTAINER_MODE_DEFINES
+if test "$GCC" = "yes" ; then
+ CFLAGS="\
+ -Wall \
+ -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
+ -Wnested-externs -Wpointer-arith \
+ -Wcast-align -Wsign-compare -Wredundant-decls \
+ -fno-strict-aliasing \
+ $CFLAGS"
+fi
+
GNOME_DOC_INIT
AC_OUTPUT(Makefile
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]