Bug#294616: Compile with debug flags or at least with -DG_DISABLE_CHECKS

Ross Burton Ross Burton <ross@burtonini.com>, 294616@bugs.debian.org
Thu, 10 Feb 2005 18:54:16 +0000


Package: libgconf2-4
Version: 2.8.1-4

Some time ago gconf started to be compiled with --disable-debug.  In
current builds this also adds -DG_DISABLE_CHECK, which turns off the
sanity checks (client != NULL, key != NULL, etc).

This is exposing several "issues" in client programs (upstream needs to
make clear if sending a NULL key value in gconf_client_set_string() is
an error or not), but as disabling these checks is generally not a good
idea then I think that debugging should be enabled (as it is enabled in
most of the GNOME libraries).

If we leave debugging off, we really must stop G_DISABLE_CHECKS being
set.

Ross
-- 
Ross Burton                                 mail: ross@burtonini.com
                                          jabber: ross@burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF