Muokkaa

Jaa


Compiler Error C3199

invalid use of floating-point pragmas: exceptions are not supported in non-precise mode

The float_control pragma was used to specify floating-point exception model under an /fp setting other than /fp:precise.

The following sample generates C3199:

// C3199.cpp
// compile with: /fp:fast
#pragma float_control(except, on)   // C3199