Compiler Warning (level 1) C4077
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Compiler Warning (level 1) C4077

Error Message

unknown check_stack option

The old form of the check_stack pragma is used with an unknown argument. The argument must be +, -, or empty.

The compiler ignores the pragma and leaves the stack checking unchanged.

Example

// C4077.cpp
// compile with: /W1 /LD
#pragma check_stack yes // C4077
#pragma check_stack +    // Correct old form
#pragma check_stack (on) // Correct new form
Show:
© 2016 Microsoft