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

On 2 Dec 2002 at 20:44, Wei Dai wrote:

> On Thu, Nov 28, 2002 at 12:06:31PM -0700, D. R. Evans wrote:
> > I have just discovered (the hard way) another simple program that crashes
> > -- in this case even with no optimisation (i.e., no -O flags), but if
> > NDEBUG is defined in the crypto++ build. 
> 
> You have to make sure that both the Crypto++ library and your own program
> are compiled with the same NDEBUG setting. Either both have it defined, or
> neither. I'm guessing that you have a mismatch and that's causing the
> problem.

Is that documented somewhere? It seems like that's a very important fact 
that should be clearly stated somewhere where it won't be missed.

It seems rather odd to have to define a macro name at compile time when 
that macro name is nowhere used in my code.

Or is this one of those "everyone knows that you have to do this" things?

  Doc



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

iQA/AwUBPezJTGnXrLw2KRK4EQKGvwCdEzSKt1Z6qqZOj8M3rTeXcUCSguYAniS7
jIskjvyTrpKSbC7KFLv6FcMg
=4a9O
-----END PGP SIGNATURE-----

Reply via email to