The .sln file that comes with Crypto++ 5.4 is for MSVC 2005 and doesn't work 
with MSVC 2003. You can go ahead and use the default compiler options in the 
.sln file. For MSVC 2003 you should load the .dsw file and let it 
auto-convert the project files.

The MSVC optimization flags don't really make a big difference, and do not 
tend to cause any problems. Feel free to experiment with them if you want, 
and just run the validation tests after you recompile.

----- Original Message ----- 
From: "Fei" <[EMAIL PROTECTED]>
To: "Crypto++ Users" <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2007 12:37 PM
Subject: Crypto++ 5.4: Compiler settings for MSVC 2003 different from MSVC 
2005


>
> I upgraded to Crypto++ 5.4 (thanks for the suggestion Wei) and noticed
> some compiler flags were modified automatically when I loaded the .sln
> into MSVC 2005 SP1 (even though the project filles and sld are still
> dated 12/23/2006).
>
> MSVC 2003 SETTINGS:
> D "NDEBUG" /D "_WINDOWS" /D "USE_PRECOMPILED_HEADERS" /D "WIN32" /FD /
> EHsc /MT /GS /Yu"pch.h" /Fp".\Release/cryptlib.pch" /Fo".\Release/" /
> Fd".\Release/" /W3 /nologo /c /Zi /TP /GF /Gy /Gd /O1 /Ob2 /Zm400
>
> MSVC 2005 SP1 SETTINGS:
> /O2 /Ob2 /Oi /Ot /Oy /GL /D "NDEBUG" /D "_WINDOWS" /D
> "USE_PRECOMPILED_HEADERS" /D "WIN32" /D "_VC80_UPGRADE=0x0710" /GF /
> FD /EHsc /MT /Gy /Yu"pch.h" /Fp"Win32\cryptlib\Release\cryptlib.pch" /
> Fo"Win32\cryptlib\Release\\" /Fd"Win32\cryptlib\Release\vc80.pdb" /W3 /
> nologo /c /Zi /TP /errorReport:prompt
>
> Anyway, what settings do you recommend for release builds for MSVC
> 2005 SP1?  I don't know why it switched from "/O1" to "/O2 /Ot /Oi /
> Oy" but I don't want to sacrifice reliability and I want to use
> settings recommended by Wei...
>
> Thanks!
>
>
> > 



--~--~---------~--~----~------------~-------~--~----~
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.
-~----------~----~----~----~------~----~------~--~---

Reply via email to