We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7605480 + 484770e commit 2c7a2e7Copy full SHA for 2c7a2e7
docs/error-messages/compiler-errors-1/fatal-error-c1012.md
@@ -1,13 +1,21 @@
1
---
2
-description: "Learn more about: Fatal Error C1012"
3
title: "Fatal Error C1012"
4
-ms.date: "11/04/2016"
+description: "Learn more about: Fatal Error C1012"
+ms.date: "02/20/2025"
5
f1_keywords: ["C1012"]
6
helpviewer_keywords: ["C1012"]
7
-ms.assetid: 92cc83a7-b5b8-4da8-a128-9b7ccb510496
8
9
# Fatal Error C1012
10
11
-unmatched parenthesis : missing character
+unmatched parenthesis: missing 'character'
12
13
The parentheses in a preprocessor directive do not match.
+
14
+The following sample generates C1012:
15
16
+```cpp
17
+// C1012.cpp
18
+// compile with: /c
19
+#if (0 // C1012
20
+#endif
21
+```
0 commit comments