You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Gregor Bornemann <gb...@stardivision.de> on 2000/09/22 11:59:13 UTC

why NDEBUG in header-files ?

Hy,

i've tried to use the xalan c++ library in my own projects and always get 
same segfaults.
The problem was that there are some #ifdef on the NDEBUG macro in the 
header-files.

Why is the NDEBUG macro used in header files ???

If i combile my own source code with the -DNDEBUG option and include the 
Xalan header files i'll run in big problems.

So my question is why using this macro in a header-file ??

CU
	Gregor Bornemann