Hi Rob,
--- Robert Shearman rob@codeweavers.com wrote:
I don't understand why there is a need for converting to DPRINT, DPRINT1, etc. Why can't you just define TRACE, WARN and FIXME to DPRINT? You won't get the runtime enabling or disabling of debug channels, but then presumably you don't want support for this.
For Wine ported DLLs we already do this. Our libwine is a static lib that maps FIXME and ERR to DPRINT1 so you always see it and WARN and TRACE to DPRINT so you will see those messages if compiled with DBG = 1. reactos/include/wine/debug.h The debate comes in with do we want to do this in all of ReactOS? My vote is of course yes. I would much rather just dump DPRINT and DPRINT1 and use the Wine macros directly.
Also it would be nice if someone could figure out a way to enable runtime switching of debug channels so a recompile is not required if I want to enable more verbose output.
Thanks Steven
__________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com