Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 593 Bytes

fatal-error-c1070.md

File metadata and controls

40 lines (30 loc) · 593 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Fatal Error C1070
Fatal Error C1070
11/04/2016
C1070
C1070
1058269a-5db6-4c23-a97f-b5269eb9188b

Fatal Error C1070

mismatched #if/#endif pair in file 'filename'

An #if, #ifdef, or #ifndef directive has no corresponding #endif.

The following sample 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