From 9be021b24729c076a9057c2f956dc8ed0c712a43 Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Mon, 22 Dec 2003 08:36:20 +0000 Subject: [PATCH] 2003-12-22 Christian Stimming * src/engine/gnc-trace.h: Fix for gcc2.95 for macros with variable arguments by Lionel Elie Mamane . git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9730 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/gnc-trace.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/engine/gnc-trace.h b/src/engine/gnc-trace.h index f5c8dc00fb..303725726c 100644 --- a/src/engine/gnc-trace.h +++ b/src/engine/gnc-trace.h @@ -123,55 +123,55 @@ const char * gnc_log_prettify (const char *name); #define FATAL(format, args...) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, \ - "Fatal Error: %s(): " format, FUNK, ## args); \ + "Fatal Error: %s(): " format, FUNK , ## args); \ } #define PERR(format, args...) { \ if (gnc_should_log (module, GNC_LOG_ERROR)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, \ - "Error: %s(): " format, FUNK, ## args); \ + "Error: %s(): " format, FUNK , ## args); \ } \ } #define PWARN(format, args...) { \ if (gnc_should_log (module, GNC_LOG_WARNING)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, \ - "Warning: %s(): " format, FUNK, ## args); \ + "Warning: %s(): " format, FUNK , ## args); \ } \ } #define PINFO(format, args...) { \ if (gnc_should_log (module, GNC_LOG_INFO)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, \ - "Info: %s(): " format, FUNK, ## args); \ + "Info: %s(): " format, FUNK , ## args); \ } \ } #define DEBUG(format, args...) { \ if (gnc_should_log (module, GNC_LOG_DEBUG)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "Debug: %s(): " format, FUNK, ## args); \ + "Debug: %s(): " format, FUNK , ## args); \ } \ } #define ENTER(format, args...) { \ if (gnc_should_log (module, GNC_LOG_DEBUG)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "Enter: %s" format, FUNK, ## args); \ + "Enter: %s" format, FUNK , ## args); \ } \ } #define LEAVE(format, args...) { \ if (gnc_should_log (module, GNC_LOG_DEBUG)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "Leave: %s" format, FUNK, ## args); \ + "Leave: %s" format, FUNK , ## args); \ } \ } #define TRACE(format, args...) { \ if (gnc_should_log (module, GNC_LOG_TRACE)) { \ g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, \ - "Trace: %s(): " format, FUNK, ## args); \ + "Trace: %s(): " format, FUNK , ## args); \ } \ } @@ -200,19 +200,19 @@ void gnc_report_clock_total (int clockno, #define START_CLOCK(clockno,format, args...) { \ if (gnc_should_log (module, GNC_LOG_INFO)) \ gnc_start_clock (clockno, module, GNC_LOG_INFO, \ - __FUNCTION__, format, ## args); \ + __FUNCTION__, format , ## args); \ } #define REPORT_CLOCK(clockno,format, args...) { \ if (gnc_should_log (module, GNC_LOG_INFO)) \ gnc_report_clock (clockno, module, GNC_LOG_INFO, \ - __FUNCTION__, format, ## args); \ + __FUNCTION__, format , ## args); \ } #define REPORT_CLOCK_TOTAL(clockno,format, args...) { \ if (gnc_should_log (module, GNC_LOG_INFO)) \ gnc_report_clock_total (clockno, module, GNC_LOG_INFO, \ - __FUNCTION__, format, ## args); \ + __FUNCTION__, format , ## args); \ } #endif /* GNC_TRACE_H */