Fixing Release Build Problems
The latest version of this topic can be found at Fixing Release Build Problems.
If your code generates compile errors after switching from debug build to release build, there are some areas you should check.
You may receive compiler warnings during an optimized (release) build that you did not receive during a debug build.
See Also
Release Builds
Common Problems When Creating a Release Build
Optimizing Your Code