Freigeben über


/GZ - Catch Release Errors in Debug Build (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.