Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
unexpected #else
The #else
directive appears outside an #if
, #ifdef
, or #ifndef
construct. Use #else
only within one of these constructs.
The following sample generates C1019:
// C1019.cpp
#else // C1019
#endif
int main() {}
Possible resolution:
// C1019b.cpp
#if 1
#else
#endif
int main() {}