I'm having a problem trying to compile an implementation file and I don't understand this error ...
fatal error C1010: unexpected end of file while looking for precompiled header directive
When your project is set to use precompiled headers (they're a way of making rebuilds faster), VC++ ignores everything in a CPP file until it sees this line. In fact you can throw in all the syntax errors you want and VC++ never sees them because it ignores all text before the include directive for the precompiled header.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.