What happens when you turn off Whole Program Optimizations, both for Crypto++ and your own application?
-------------------------------------------------- From: "Jeffrey Walton" <[EMAIL PROTECTED]> Sent: Friday, November 30, 2007 9:50 PM To: "Crypto++" <[EMAIL PROTECTED]> Subject: Cryptlib Link Suggestion from the Linker > > Hi All/Wei, > > When I link against the library (5.5.2, but it was present in 5.5.1 > also) using Visual Stuio 8.0, I receive the following: > > "cryptlib.lib(cryptlib.obj) : MSIL .netmodule or module compiled with > /GL found; restarting link with /LTCG; add /LTCG to the link command > line to improve linker performance" > > The restart of the linker is a bit painful since it is so slow. When I > turned off Whole Program Optimaztions, I received different errors > (not warnings). > > I think I tracked this down to class algparams, which is using a > smartptr class. The smartptr class is using std::algorithm. From > similar on the web, it appears Microsoft built std::algorithm > incorrectly (using a managed switch). > > Is there any way to work around this issue by tweaking SmartPtr.h? > > Jeff > > > --~--~---------~--~----~------------~-------~--~----~ 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. -~----------~----~----~----~------~----~------~--~---
