Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4616

#pragma warning : warning number 'number1' out of range, must be between 'number2' and 'number3'

The warning number specified in the warning pragma cannot be reassigned. Only warnings between number2 and number3 can be reassigned. The pragma was ignored.

The following sample generates C4616:

// C4616.cpp
// compile with: /W1 /LD
#pragma warning( disable : 0 )   // C4616, use number between 1 and 999
                                 // or 4001 and 4999
Show:
© 2014 Microsoft