goffice r2299 - in trunk: . docs/reference



Author: mortenw
Date: Wed Dec 31 03:33:31 2008
New Revision: 2299
URL: http://svn.gnome.org/viewvc/goffice?rev=2299&view=rev

Log:
2008-12-30  Morten Welinder  <terra gnome org>

	* configure.in (set_more_warnings): Add -Wformat-security.



Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/docs/reference/Makefile.am

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Wed Dec 31 03:33:31 2008
@@ -274,7 +274,9 @@
 )
 set_more_warnings=yes
 if test "$GCC" = "yes" -a "x$set_more_warnings" != "xno"; then
-	for option in -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-pointer-sign; do
+	for option in -Wsign-compare -Wpointer-arith -Wnested-externs -Wchar-subscripts -Wwrite-strings -Wdeclaration-after-statement -Wmissing-noreturn -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wformat -Wmissing-format-attribute -Wno-pointer-sign -Wformat-security; do
+		# Note: we cannot use -Werror=format-security until the fix
+		# for bug 536980 gets deployed.
 		SAVE_CFLAGS="$CFLAGS"
 		CFLAGS="$CFLAGS $option"
 		AC_MSG_CHECKING([whether gcc understands $option])

Modified: trunk/docs/reference/Makefile.am
==============================================================================
--- trunk/docs/reference/Makefile.am	(original)
+++ trunk/docs/reference/Makefile.am	Wed Dec 31 03:33:31 2008
@@ -57,7 +57,7 @@
 		foo-canvas-i18n.h			\
 		foo-canvas-marshal.h			\
 		ucp.h
-	
+
 HTML_IMAGES=
 
 content_files = \



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