Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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