On Mon, 9 Mar 2009, John Peterson wrote:

> In optimized mode you get -DNDEBUG, in debug mode you get -DDEBUG, and
> in devel-mode you get neither.

I didn't even know that a "devel-mode" exists.  How do I invoke that? 
I can't find it, neither in the output of "./configure --help" nor in 
the installation instructions on the web.  Actually, the other two 
modes are not described there either.  If these modes are really not 
documented, I would suggest to do so.  If they are, I would suggest to 
make that documentation more easily findable.

Oops, the website says something about this, but it only mentions 
"opt", "dbg", and "pro".  Is the other one "devel" or "dvl" or "dev"?

> I was just making the statement that we probably wouldn't affect other
> standard library functions by changing DEBUG to LIBMESH_DEBUG.  We
> might break something by changing NDEBUG to LIBMESH_NDEBUG, I also
> realize this is not what you are proposing.

I would vote for decoupling libMesh's debug symbols completely from 
other symbols.  If somebody likes to have DEBUG or NDEBUG defined for 
use in the standard library functions, they can define these symbols 
manually, can't they?  That would be the way to go without libMesh, 
anyway, wouldn't it?

Best Regards,

Tim

-- 
Dr. Tim Kroeger
tim.kroe...@mevis.fraunhofer.de            Phone +49-421-218-7710
tim.kroe...@cevis.uni-bremen.de            Fax   +49-421-218-4236

Fraunhofer MEVIS, Institute for Medical Image Computing
Universitaetsallee 29, 28359 Bremen, Germany


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to