Optimization turns off expansion

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Mike Baker (anonymous_at_discussions.microsoft.com)
Date: 05/15/04


Date: Sat, 15 May 2004 09:36:02 -0700

I'm updating a product to use VC7 (VS .NET 2003). Our old build scripts use -O2 and -Ob1 in the command line. When I set optimization to /O2 in the IDE, the /Ob1 is left out of the build even though it appears in the property pages. Why can't I use these two settings in combination through the IDE.