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.
In this article
unknown check_stack option
The old form of the check_stack pragma is used with an unknown argument. The argument must be +
, -
, (on)
, (off)
, or empty.
The compiler ignores the pragma and leaves the stack checking unchanged.
// C4077.cpp
// compile with: /W1 /LD
#pragma check_stack yes // C4077
#pragma check_stack + // Correct old form
#pragma check_stack (on) // Correct new form