Project parameters → C / C ++ → Optimization → Extension of the built-in function. Turn it on /Ob2 . Do this in your Debug configuration.
In the release, the extension of the built-in function is implied by other optimization settings, therefore, although by default all configurations say "Default" for this setting, the behavior is really different.
I believe that Debug assemblies should have built-in extension behavior just like release; there really is no reason not to do this.
http://msdn.microsoft.com/en-us/library/47238hez.aspx
tenfour
source share