[Xfce4-commits] <xfconf:master> add -Wno-sign-compare to the gtk-doc Makefile.am

Brian J. Tarricone noreply at xfce.org
Fri Sep 18 23:00:02 CEST 2009


Updating branch refs/heads/master
         to 65d1fe5e7ec68bc69aab890a074a89bc73b80444 (commit)
       from 5433569e579c8c4d9a33d22c4aa5a160da79ac59 (commit)

commit 65d1fe5e7ec68bc69aab890a074a89bc73b80444
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Fri Sep 18 14:00:11 2009 -0700

    add -Wno-sign-compare to the gtk-doc Makefile.am
    
    there's a bug in gtk-doc's generated scanner .c file.  lame.

 configure.ac.in                         |    8 +++-----
 docs/reference/Makefile.am              |    3 ++-
 docs/reference/tmpl/xfconf-channel.sgml |    5 +++++
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/configure.ac.in b/configure.ac.in
index 0f67470..487d9a7 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -155,11 +155,9 @@ fi
 
 dnl check for debugging support
 XDT_FEATURE_DEBUG
-dnl if test "x$enable_debug" = "xfull"; then
-dnl     if test "x$CC" = "xgcc"; then
-dnl         CFLAGS="$CFLAGS -fno-strict-aliasing"
-dnl     fi
-dnl fi
+dnl gtk-doc is broken
+XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
+AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
 
 AC_ARG_ENABLE([checks],
               AC_HELP_STRING([--enable-checks],
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index eee63d0..510d7f5 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -58,7 +58,8 @@ INCLUDES = \
 	$(GLIB_CFLAGS) \
 	$(LIBXFCE4UTIL_CFLAGS) \
 	$(DBUS_CFLAGS) \
-	$(DBUS_GLIB_CFLAGS)
+	$(DBUS_GLIB_CFLAGS) \
+	$(GTK_DOC_EXTRA_CFLAGS)
 
 GTKDOC_LIBS = \
 	$(top_builddir)/xfconf/libxfconf-$(LIBXFCONF_VERSION_API).la \
diff --git a/docs/reference/tmpl/xfconf-channel.sgml b/docs/reference/tmpl/xfconf-channel.sgml
index 44b5451..bf16414 100644
--- a/docs/reference/tmpl/xfconf-channel.sgml
+++ b/docs/reference/tmpl/xfconf-channel.sgml
@@ -40,6 +40,11 @@ configuration keys with the same names.
 
 </para>
 
+<!-- ##### ARG XfconfChannel:is-singleton ##### -->
+<para>
+
+</para>
+
 <!-- ##### ARG XfconfChannel:property-base ##### -->
 <para>
 



More information about the Xfce4-commits mailing list