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

Compiler Warning (level 1) C4077

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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.