[gnome-network]patch to add compiler warnings



Here is a patch to add compiler warnings.  These are very useful.

Ok to commit?

Jon
Index: configure.in
===================================================================
RCS file: /cvs/gnome/gnome-network/configure.in,v
retrieving revision 1.100
diff -u -r1.100 configure.in
--- configure.in	18 Nov 2003 11:51:06 -0000	1.100
+++ configure.in	19 Nov 2003 07:54:39 -0000
@@ -19,6 +19,9 @@
 dnl AC_ARG_PROGRAM
 AM_PROG_LIBTOOL
 
+GNOME_COMPILE_WARNINGS(yes)
+CFLAGS="$CFLAGS $WARN_CFLAGS"
+
 dnl Checks for gnome-sync.
 AC_CHECK_HEADER(limits.h)
 AC_C_BIGENDIAN
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-network/ChangeLog,v
retrieving revision 1.87
diff -u -r1.87 ChangeLog
--- ChangeLog	18 Nov 2003 19:34:29 -0000	1.87
+++ ChangeLog	19 Nov 2003 07:54:40 -0000
@@ -1,3 +1,7 @@
+2003-11-19  William Jon McCann  <mccann jhu edu>
+
+	* configure.in: Add GNOME compiler warnings.
+
 2003-11-18  Álvaro Peña  <apg esware com>
 
         Fixes #127264


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