[gnome-user-share] build: Show more build warnings



commit 3ce89b4069d773d7558cb8efd98152f4130f8a64
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Nov 10 02:05:05 2013 +0100

    build: Show more build warnings

 configure.ac    |    3 +++
 src/Makefile.am |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ac7187e..a3e2713 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,6 +14,9 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 AM_SANITY_CHECK
 AM_MAINTAINER_MODE([enable])
 
+GNOME_DEBUG_CHECK
+GNOME_COMPILE_WARNINGS([maximum])
+
 # Check for programs
 AC_C_CONST
 AC_PROG_CC
diff --git a/src/Makefile.am b/src/Makefile.am
index 39017f1..ceca3e7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -18,7 +18,8 @@ INCLUDES=     \
        -I$(top_builddir)                               \
        $(EXTENSION_CFLAGS)                             \
        $(USER_SHARE_CFLAGS)                            \
-       $(X_CFLAGS)
+       $(X_CFLAGS)                                     \
+       $(WARN_CFLAGS)
 
 gnome_user_share_SOURCES =     \
        user_share.c            \


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