> *My computer environment:* Windows XP 32-bit SP2, VC++ 6.0, Crypto++; > > When I built my project, I always got a bunch of C4786 warnings, I have to > disable this warnings, since I use automatic build, lots of this warnings > disturbed every developers, so I use the following directive: > > #pragma warning(disable: 4768) > > However, this directive seems no effect on Crypto++ code, even though I > added the directive in the every .h file, the warning still appear, *how can > I disable this warnings?*
That pragma should appear before template code that generates it (and don't use push/pop later). Try putting it into precompiled header or into forced include header. If it already is on the very top then I'm not sure. Obligatory useless advice: ditch VC6 already :). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~---
