Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

/GZ - Catch Release Errors in Debug Build (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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

Compiler Options


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.