|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
SOS -- Failed to disable C4786 warning in Crypto++Hi,
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:
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?
The build info:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscribe@.... More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~--- |
||
|
|
Re: SOS -- Failed to disable C4786 warning in Crypto++> *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 cryptopp-users-unsubscribe@.... More information about Crypto++ and this group is available at http://www.cryptopp.com. -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |