[libchamplain] Add some extra warnings



commit 8d8e6640229d51990d3893ed798e37fa232736ae
Author: JiÅ?í Techet <techet gmail com>
Date:   Thu Dec 30 20:21:17 2010 +0100

    Add some extra warnings

 champlain-gtk/Makefile.am |    4 ++--
 champlain/Makefile.am     |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/champlain-gtk/Makefile.am b/champlain-gtk/Makefile.am
index 9a3e752..182b9ff 100644
--- a/champlain-gtk/Makefile.am
+++ b/champlain-gtk/Makefile.am
@@ -49,7 +49,7 @@ libchamplain_gtk_ CHAMPLAIN_API_VERSION@_la_LDFLAGS= \
 	-no-undefined \
 	-export-symbols-regex ^gtk_champlain_.*
 
-AM_CPPFLAGS = $(GTK_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
+AM_CPPFLAGS = $(GTK_CFLAGS) $(WARN_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
 
 
 lib_LTLIBRARIES = libchamplain-gtk- CHAMPLAIN_API_VERSION@.la
@@ -65,7 +65,7 @@ if HAVE_INTROSPECTION
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS = --add-include-path=$(top_builddir)/champlain
+INTROSPECTION_SCANNER_ARGS = --warn-all --add-include-path=$(top_builddir)/champlain
 INTROSPECTION_COMPILER_ARGS = --includedir=$(top_builddir)/champlain
 
 introspection_sources = $(libchamplain_gtk_ CHAMPLAIN_API_VERSION@_la_SOURCES)
diff --git a/champlain/Makefile.am b/champlain/Makefile.am
index 342817d..8858d3a 100644
--- a/champlain/Makefile.am
+++ b/champlain/Makefile.am
@@ -144,7 +144,7 @@ if HAVE_INTROSPECTION
 
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
-INTROSPECTION_SCANNER_ARGS =
+INTROSPECTION_SCANNER_ARGS = --warn-all
 INTROSPECTION_COMPILER_ARGS =
 introspection_sources = $(libchamplain_ CHAMPLAIN_API_VERSION@_la_SOURCES)
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]