Hi, > The compiler should optimize this out, and even if it doesn't that's > no big deal. It certainly doesn't justify adding #ifdefs. Neither gcc nor msvcrt will optimise out these calls, and even if the code were optimised away, the strings would remain (with gcc). This is due to the use of DPRINTF instead of TRACE to print the strings. If you don't like conditionals, An alternative approach is to inline the tracing code (since each dump_ function is only called once) and use TRACE instead of DPRINTF. The attached patch implements this tactic and has the same effect as the original __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com