Author: kelnos
Date: 2009-07-13 06:36:01 +0000 (Mon, 13 Jul 2009)
New Revision: 30297

Modified:
   libxfce4ui/trunk/configure.in.in
   libxfce4ui/trunk/libxfce4smclient-private/Makefile.am
Log:
suppress warnings about breaking strict aliasing rules for EggSMClient

at this point, i don't think it's worth trying to fix, and will only
make merging upstream changes harder

Modified: libxfce4ui/trunk/configure.in.in
===================================================================
--- libxfce4ui/trunk/configure.in.in    2009-07-12 21:35:37 UTC (rev 30296)
+++ libxfce4ui/trunk/configure.in.in    2009-07-13 06:36:01 UTC (rev 30297)
@@ -164,6 +164,12 @@
 fi
 AM_CONDITIONAL([ENABLE_SMCLIENT_LIBRARY], [test "x$enable_smclient_library" = 
"xyes"])
 
+dnl EggSMClient breaks strict aliasing rules.  Since I don't think it's
+dnl worth fixing it, let's just disable the warning so --enable-debug=full
+dnl doesn't error out.
+XDT_SUPPORTED_FLAGS([NO_STRICT_ALIASING_CFLAGS], [-fno-strict-aliasing])
+AC_SUBST([NO_STRICT_ALIASING_CFLAGS])
+
 dnl *********************************************************
 dnl *** Optional support for the Glade Interface Designer ***
 dnl *********************************************************

Modified: libxfce4ui/trunk/libxfce4smclient-private/Makefile.am
===================================================================
--- libxfce4ui/trunk/libxfce4smclient-private/Makefile.am       2009-07-12 
21:35:37 UTC (rev 30296)
+++ libxfce4ui/trunk/libxfce4smclient-private/Makefile.am       2009-07-13 
06:36:01 UTC (rev 30297)
@@ -9,6 +9,7 @@
        -DG_LOG_DOMAIN=\"libxfce4smclient-private\" \
        -DPACKAGE_LOCALE_DIR=\"$(localedir)\" \
        -DPREFIX=\"$(prefix)\" \
+       $(NO_STRICT_ALIASING_CFLAGS) \
        $(PLATFORM_CPPFLAGS)
 
 if PLATFORM_OSX

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to