----- Forwarded message from Juergen Pfennig <[EMAIL PROTECTED]> -----
Date: Tue, 20 Sep 2005 14:00:22 +0200 From: Juergen Pfennig <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Bug#328697 ... fixed in lirc 0.7.1pre2-8 NO! WAN'T COMPILE WITHOUT DEBUG Sorry Amaya, could you/we think about the following change (remove the #ifdef DEBUG stuff): // #ifdef DEBUG static int bVerbose = 0; static int bInError = 0; static void debugprintf(char *format_str, ...) { va_list ap; va_start(ap,format_str); if(bVerbose) vfprintf(stderr,format_str,ap); va_end(ap); } // #else // static void debugprintf(char *format_str, ...) // { // } // #endif I know that this is conceptual, but today the few bytes of debug code should not make a problem and the -v option was introduced to enable/disable the trace. If you don't like that please move the #ifdef DEBUG two lines down ... static int bVerbose = 0; static int bInError = 0; #ifdef DEBUG Sorry again. Thanks for taking care of irxevent anyhow, Yours Jürgen ----- End forwarded message ----- -- .''`. Follow the white Rabbit - Ranty (and Lewis Carroll) : :' : `. `' Proudly running unstable Debian GNU/Linux `- www.amayita.com www.malapecora.com www.chicasduras.com