[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Alex: KDEBUG
From:       Rik Hemsley <rik () rikkus ! demon ! co ! uk>
Date:       1999-04-06 1:23:22
[Download RAW message or body]

Alex Zepeda wrote:

> I just want to clarify, that KDEBUG was stupid, to get around
> preprocessors that couldn't handle varargs in macros.

The way my current project prints debug info (yes it goes away with
NDEBUG) is this:

#define empathDebug(a) cerr << className() << ": " << (a) << endl;

Perhaps kdebug, to get around varargs, could do something similar
instead.

Cheers,
Rik

-- 
http://without.netpedia.net

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic