On Feb 13, 2009, at 9:01 AM, Ben Laurie wrote:
Please don't use iostream (if you can help it). Not only does it's
performance suck, but it slows down startup time:
http://llvm.org/docs/CodingStandards.html#ll_iostream
OK ... how do I activate debugging (DOUT and DEBUG)?
Here are the relevant #defines as given in Makefile.rules:
# If DISABLE_ASSERTIONS=1 is specified (make command line or
configured),
# then disable assertions by defining the appropriate preprocessor
symbols.
ifdef DISABLE_ASSERTIONS
BuildMode := $(BuildMode)-Asserts
CPP.Defines += -DNDEBUG
else
CPP.Defines += -D_DEBUG
endif
So "NDEBUG" and "_DEBUG".
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits