Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 661 Bytes

fatal-error-c1071.md

File metadata and controls

30 lines (22 loc) · 661 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Fatal Error C1071
Fatal Error C1071
11/04/2016
C1071
C1071
489f1786-370e-4ecd-af67-538fe6e5bd4e

Fatal Error C1071

unexpected end of file found in comment

The compiler reached the end of the file while scanning a comment.

To fix by checking the following possible causes

  1. Missing comment terminator (*/).

  2. Missing newline character after a comment on the last line of a source file.

The following sample generates C1071:

// C1071.cpp
int main() {
}

/* this comment is fine */
/* forgot the closing tag        // C1071