[PATCH 1 of 4] Do not depend on RELEASE_BUILD for debug output

Wald Commits scm-commit at wald.intevation.org
Thu Jan 15 16:47:00 CET 2015


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1421333846 -3600
# Node ID 318e8c5c4f85b7997d8ac7457cbcd9c0c9d662e7
# Parent  ce46e3453ea457a88c9a11138852ed59811b3366
Do not depend on RELEASE_BUILD for debug output

    this is handled by g_debug and no longer neccessary als
    a Macro

diff -r ce46e3453ea4 -r 318e8c5c4f85 common/logging.h
--- a/common/logging.h	Thu Jan 15 15:48:33 2015 +0100
+++ b/common/logging.h	Thu Jan 15 15:57:26 2015 +0100
@@ -45,12 +45,8 @@
 /**
  * @def DEBUGOUTPUT
  * @brief If defined code for extra debugging output will be generated.
- *
- * Will be defined if current build is not an RELEASE_BUILD.
  */
-#ifndef RELEASE_BUILD
 #define DEBUGOUTPUT
-#endif
 
 /**
  * @def DEBUGPREFIX


More information about the Trustbridge-commits mailing list