Compiler Error C2130
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

Compiler Error C2130

#line expected a string containing the filename, found 'token'

The optional file name token following #line linenumber must be a string.

The following sample generates C2130:

// C2130.cpp
int main() {
   #line 1000 test   // C2130
   #line 1000 "test"   // OK
}
Show:
© 2016 Microsoft