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.
mismatched #if/#endif pair in file 'filename'
Remarks
An #if
, #ifdef
, or #ifndef
directive has no corresponding #endif
.
Example
The following example generates C1070:
// C1070.cpp
#define TEST
#ifdef TEST
#ifdef TEST
#endif
// C1070
Possible resolution:
// C1070b.cpp
// compile with: /c
#define TEST
#ifdef TEST
#endif
#ifdef TEST
#endif