description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | ||
---|---|---|---|---|---|---|---|
Learn more about: Fatal Error C1071 |
Fatal Error C1071 |
11/04/2016 |
|
|
489f1786-370e-4ecd-af67-538fe6e5bd4e |
unexpected end of file found in comment
The compiler reached the end of the file while scanning a comment.
-
Missing comment terminator (*/).
-
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