/GZ - Catch Release Errors in Debug Build (Windows CE 5.0)
This option enables run-time checks to catch bugs that only occur in a Release build while in a Debug build mode. Some bugs typically arise only when you switch to a Release build.
/GZ is not compatible with any Release build option. The /GZ option disables any #pragma optimize statements in your code.
The /GZ option does the following:
- Auto-initialization of local variables
- Function pointer call stack validation
- Call stack validation
The /GZ option applies only to x86 target architectures.
See Also
Send Feedback on this topic to the authors