Sync(18): msvcrt cpp exceptions
Jon Griffiths
jon_p_griffiths at yahoo.com
Sat Aug 23 10:26:22 CDT 2003
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
More information about the wine-patches
mailing list