[goffice] Bug 536980 which prevented us from building with -Werror=format-security was fixed in gtk-doc 1.11 (



commit 31a3d14bf3d7357825f4fb28e2d63ef17a65b3ac
Author: J.H.M. Dassen (Ray) <jdassen debian org>
Date:   Sat Mar 6 09:56:35 2010 +0100

    Bug 536980 which prevented us from building with -Werror=format-security was
    fixed in gtk-doc 1.11 (released November 2008). Enabled
    -Werror=format-security and bumped the gtk-doc requirement accordingly.

 configure.in |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/configure.in b/configure.in
index d64f3d5..923e54d 100644
--- a/configure.in
+++ b/configure.in
@@ -309,9 +309,8 @@ if test "$GCC" = "yes" -a "x$set_more_warnings" != "xno"; then
 			 -Wmissing-declarations -Wno-pointer-sign \
 			 -Wbitwise -Wcast-to-as \
 			 -Wdefault-bitfield-sign -Wdo-while -Wparen-string \
-			 -Wptr-subtraction-blows -Wreturn-void -Wtypesign"
-	# Note: we cannot use -Werror=format-security until the fix
-	# for bug 536980 gets deployed.
+			 -Wptr-subtraction-blows -Wreturn-void -Wtypesign \
+			 -Werror=format-security"
 	if test goffice_devel = yes; then
 		dnl Avoid triggering a warning in gtk+ headers for stable.
 		warning_options="$warning_options -Wstrict-prototypes"
@@ -617,7 +616,7 @@ AC_DEFINE(GO_VERSION_MINOR, goffice_version_minor,
 AC_DEFINE(GO_VERSION_EXTRA, "goffice_version_extra",
 	[Extra, possibly empty tag for this release])
 
-GTK_DOC_CHECK([1.4])
+GTK_DOC_CHECK([1.11])
 if test "x$with_gtk" = "xno" -a "x$enable_gtk_doc" = "xyes"; then
 	AC_ERROR([Building documentation is not allowed for a without Gtk+ build])
 fi



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