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:
// uncomment the below line to resolve the error // #if 1 #endif // C1020 void main() { }