-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3 Dec 2002 at 11:05, J Smith wrote:

> 
> NDEBUG is just ANSI standard C. It should be found in assert.h. 
> 
> I don't know if "everyone knows that you have to do this", but it is a part
> of the Standard.
> 

Well, my point was that it wasn't obvious to me that if NDEBUG is defined 
in the build of the crypto++ library, then you must also define it in the 
main program. That was what seemed really weird to me.

In fact, Bjarne's book specifically states that it is used on a "per-
compilation-unit basis". Bjarne has some good stuff about assertions in the 
C world and in the C++ world in section 24.3.7.2.

Anyway, Wei Dei says that this requirement is going to be documented, so my 
concern about it being non-obvious will go away.

  Doc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.0.2 -- QDPGP 2.60 
Comment: Key obtainable from servers: ID 0x362912B8

iQA/AwUBPezj3GnXrLw2KRK4EQKCVQCg7rN0Q5xhnVW2zOtPql4RtzfebAwAn29D
Mzatro6LTx90KdSfpdfGpT2E
=Luzy
-----END PGP SIGNATURE-----

Reply via email to