<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 13, 2009, at 9:01 AM, Ben Laurie wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><blockquote type="cite">Please don't use iostream (if you can help it).  Not only does it's<br></blockquote><blockquote type="cite">performance suck, but it slows down startup time:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://llvm.org/docs/CodingStandards.html#ll_iostream">http://llvm.org/docs/CodingStandards.html#ll_iostream</a><br></blockquote><br>OK ... how do I activate debugging (DOUT and DEBUG)?</span></blockquote></div><div><br></div><div>Here are the relevant #defines as given in Makefile.rules:</div><div><br></div><div><div># If DISABLE_ASSERTIONS=1 is specified (make command line or configured),</div><div># then disable assertions by defining the appropriate preprocessor symbols.</div><div>ifdef DISABLE_ASSERTIONS</div><div>  BuildMode := $(BuildMode)-Asserts</div><div>  CPP.Defines += -DNDEBUG</div><div>else</div><div>  CPP.Defines += -D_DEBUG</div><div>endif</div><div><br></div><div><br></div><div>So "NDEBUG" and "_DEBUG".</div></div><div><br></div><div><br></div><div><br></div></body></html>