[PATCH] Make -Werror command-line configurable
- From: Andy Lutomirski <luto MIT EDU>
- To: gnome-color-manager-list gnome org
- Cc: Andy Lutomirski <luto mit edu>
- Subject: [PATCH] Make -Werror command-line configurable
- Date: Mon, 26 Jul 2010 10:41:36 -0400
-Werror is already enabled by --enable-strict (default) and
GNOME_COMPILE_WARNINGS can be set to enable it as well, so just do
that and don't hardcode it.
---
Hi all-
This is my first of two patches for building libcolor-glib on F13.
This one is probable suitable for the real tree. The second one is
way too hackish.
--Andy
configure.ac | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index d34767d..7572ee1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -51,7 +51,7 @@ LT_INIT
AM_PROG_CC_C_O
IT_PROG_INTLTOOL([0.35.0])
-GNOME_COMPILE_WARNINGS
+GNOME_COMPILE_WARNINGS(error)
GNOME_DOC_INIT
# set up gtk-doc
@@ -91,7 +91,6 @@ CPPFLAGS="$CPPFLAGS -DGSEAL_ENABLE"
if test "$GCC" = "yes"; then
WARNINGFLAGS_C="$WARNINGFLAGS_C -Wall"
- WARNINGFLAGS_C="$WARNINGFLAGS_C -Werror"
WARNINGFLAGS_C="$WARNINGFLAGS_C -Wcast-align -Wno-uninitialized"
WARNINGFLAGS_C="$WARNINGFLAGS_C -Wmissing-declarations"
# WARNINGFLAGS_C="$WARNINGFLAGS_C -Wredundant-decls"
--
1.7.1.1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]