[gnome-ostree] build: Sync up warning CFLAGS with ostree
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] build: Sync up warning CFLAGS with ostree
- Date: Wed, 11 Jul 2012 20:11:34 +0000 (UTC)
commit 8d9feb7ecda1b1822218d115293cf32b71c27b51
Author: Colin Walters <walters verbum org>
Date: Wed Jul 11 16:10:18 2012 -0400
build: Sync up warning CFLAGS with ostree
configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 04b9847..728a532 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,7 +13,12 @@ AM_PROG_CC_C_O
changequote(,)dnl
if test "x$GCC" = "xyes"; then
- WARN_CFLAGS="-Wall -Werror=missing-prototypes"
+ WARN_CFLAGS="-Wall -Wstrict-prototypes -Werror=missing-prototypes \
+ -Werror=implicit-function-declaration \
+ -Werror=pointer-arith -Werror=init-self -Werror=format=2 \
+ -Werror=format-security \
+ -Werror=missing-include-dirs -Werror=aggregate-return \
+ -Werror=declaration-after-statement"
fi
changequote([,])dnl
AC_SUBST(WARN_CFLAGS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]