Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 579 Bytes

compiler-warning-level-1-c4097.md

File metadata and controls

26 lines (21 loc) · 579 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 1) C4097
Compiler Warning (level 1) C4097
11/04/2016
C4097
C4097
2525be51-fac2-43b2-b57c-3bbf1a2268f7

Compiler Warning (level 1) C4097

expected pragma parameter to be 'restore' or 'off'

A pragma was passed an invalid value.

The following sample generates C4097:

// C4097.cpp
// compile with: /W1
#pragma runtime_checks("",test)   // C4097
// try the following line instead
// #pragma runtime_checks("",off)

int main() {
}