On Wed, 8 Jan 2014, John Peterson wrote: > Yep... someone will correct me but I think the *only* thing -DNDEBUG does is > compile out asserts?
Effectively that's all it does, however: Grep for "NDEBUG" and you'll see a bunch of preprocessor tests. Some of our asserts require extra precomputation before the asserted statement, and we generally wrap that in "#ifndef NDEBUG" to avoid unnecessary computations in optimized code and overzealous warnings from compilers and static checkers. --- Roy ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
