>>> I have made simple program, for crypting/decryping some data using
>>> Blowfish (in CFB mode). It works fine till I compile it in debug
>>> mode, when I use Release mode it, doesn't work. There isn't any
>>> errors - just program can't decrypt data (I've got some trash on).
>> Is "NDEBUG" macro defined in "release" mode?
> NDEBUG is defined as Preprocessor definitions
> (Project \ Settingss \ C/C++ \ General \ Preprocessor definitions)

        Was NDEBUG defined when compiling cryptopp library?

        When NDEBUG is defined in one part and not defined in other
        part (parts are library and your program), errors may happen.

        Also in debug mode compiler may set all undefined variables to 0.

-- 
There will be sex after death, we just won't be able to feel it. -- Lily Tomlin

Attachment: pgpFYqKZ6Qbnd.pgp
Description: PGP signature

Reply via email to