Hi Chris,

> I'm thinking it's a compiler bug, has anyone
> found a workaround?

It is not a bug. I typically set my workspace/project (Visual C++
nomenclature) to Warning Level 4. Since this is Wei's library, I will do the
following in my code when bringing in Crypto++ headers:

#pragma warning( push, 3 )
#  pragma warning( disable: 4700 )    // Unused Variable Names...
#  pragma warning( disable: 4706 )    // Long Names...
//  ....
#pragma warning( pop )

I only do this for Crypto++ headers (or PJ's STL)

Jeff

----- Original Message ----- 
From: "Chris Shearer Cooper" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, October 14, 2005 10:12 PM
Subject: local variable 'b' used without having been initialized


> Anybody else seeing this?
>
> secblock.h(98) : warning C4700: local variable 'b' used without having
been
> initialized
>
> It's complaining about the object of class A found inside the
> StandardReallocate function.  This warning only shows up when I compile it
> for release (using MSVC 6.0).  I'm thinking it's a compiler bug, has
anyone
> found a workaround?
>
> Thanks!
> Chris
>

Reply via email to