Commit a887ee18 authored by Jannis Pohlmann's avatar Jannis Pohlmann

Add -Wno-sign-compare to the compiler flags used for gtk-doc.

This workaround is borrowed from xfconf. gtkdoc-scangobj.in compares
gint64 to gulong which causes a compiler error with -Wno-sign-compare.
An upstream bug was filed on

  http://bugzilla.gnome.org/show_bug.cgi?id=596730
parent 5c38ecbc
......@@ -205,6 +205,12 @@ dnl *** Check for debugging support ***
dnl ***********************************
XDT_FEATURE_DEBUG([thunar_debug_default])
dnl *************************************
dnl *** Compensate for broken gtk-doc ***
dnl *************************************
XDT_SUPPORTED_FLAGS([GTK_DOC_EXTRA_CFLAGS], [-Wno-sign-compare])
AC_SUBST([GTK_DOC_EXTRA_CFLAGS])
dnl **************************************
dnl *** Check for linker optimizations ***
dnl **************************************
......
......@@ -49,7 +49,8 @@ content_files = \
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir) \
$(GTK_CFLAGS)
$(GTK_CFLAGS) \
$(GTK_DOC_EXTRA_CFLAGS)
GTKDOC_LIBS = \
$(top_builddir)/thunarx/libthunarx-$(THUNARX_VERSION_API).la
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment