Muokkaa

Jaa


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() {
}