Fatal Error C1020
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Fatal Error C1020.
unexpected #endif
The #endif directive has no matching #if, #ifdef, or #ifndef directive. Be sure each #endif has a matching directive.
The following sample generates C1020:
// C1020.cpp #endif // C1020
Possible resolution:
// C1020b.cpp // compile with: /c #if 1 #endif
Show: