This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Fatal Error C1010
unexpected end of file while looking for precompiled header directive
A precompiled header did not contain a precompiled header directive.
Possible causes
- Incorrect file specified as a header file.
- An include file specified with /Yu (Use Precompiled Header) is not listed in the source file.
- The source file is compiled with /Yufilename but doesn’t contain a #include "filename" directive with the same filename.
The following sample generates C1010:
// compile with /Yufilename to resolve
//
void main(void) {
}
// C1010