[nautilus] Enable more warnings for git builds
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [nautilus] Enable more warnings for git builds
- Date: Tue,  3 Jul 2012 15:18:13 +0000 (UTC)
commit aeb13f6c467981870961530ce5fb7679c9f54552
Author: William Jon McCann <jmccann redhat com>
Date:   Tue Jul 3 09:39:04 2012 -0400
    Enable more warnings for git builds
    
    And turn off Werror
 configure.in |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.in b/configure.in
index 0a5a052..a481f12 100644
--- a/configure.in
+++ b/configure.in
@@ -191,7 +191,7 @@ WARNING_CFLAGS=""
 AC_ARG_ENABLE(more-warnings,
 AC_HELP_STRING([--enable-more-warnings], [Maximum compiler warnings]),
 set_more_warnings="$enableval",[
-if test -f $srcdir/CVSVERSION; then
+if test -d $srcdir/.git; then
 	is_cvs_version=true
 	set_more_warnings=yes
 else
@@ -205,8 +205,7 @@ if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
 	-Wall \
 	-Wmissing-declarations -Wmissing-prototypes \
 	-Wnested-externs -Wpointer-arith \
-	-Wcast-align \
-	-Werror"
+	-Wcast-align "
 
 	for option in -Wstrict-aliasing=0 -Wno-pointer-sign; do
 		SAVE_CFLAGS="$CFLAGS"
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]