Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 699 Bytes

compiler-warning-level-1-c4077.md

File metadata and controls

25 lines (20 loc) · 699 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4077
Compiler Warning (level 1) C4077
11/04/2016
C4077
C4077
c2d28805-b33f-41ad-afba-33b3f788c649

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.

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