Muokkaa

Jaa


Compiler Warning (level 1 and level 4) C4112

#line requires an integer between 1 and 'line_count'

The #line directive specifies an integer parameter that is outside the allowable range.

If the specified parameter is less than 1, the line counter is reset to 1. If the specified parameter is greater than number, which is the compiler-defined limit, the line counter is unchanged. This diagnostic is a level 1 warning under ANSI C compatibility (/Za) and a level 4 warning with Microsoft extensions (/Ze).

The following sample generates C4112:

// C4112.cpp
// compile with: /W4
#line 0   // C4112

int main() {
}