[Xfce4-commits] <xfce4-dev-tools:master> Never disable checks.

Nick Schermer noreply at xfce.org
Fri Apr 13 23:48:01 CEST 2012


Updating branch refs/heads/master
         to e13cc0004949cfc25e15d53f759e390089440e94 (commit)
       from 286be3696483d5fcd5633371b23cbdca6a4e06fd (commit)

commit e13cc0004949cfc25e15d53f759e390089440e94
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Apr 13 23:46:50 2012 +0200

    Never disable checks.
    
    This disables the g_return_ macros, and quite often
    we rely on that. So for the sake of stability, disable
    those.

 m4macros/xdt-features.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index 129d5ef..c5f5583 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -119,7 +119,7 @@ AC_HELP_STRING([--disable-debug], [Include no debugging support]),
     CPPFLAGS="$CPPFLAGS -DNDEBUG"
 
     if test x"$enable_debug" = x"no"; then
-      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
+      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT"
       AC_MSG_RESULT([no])
     else
       AC_MSG_RESULT([minimum])


More information about the Xfce4-commits mailing list