We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ac6d8f commit fd253ecCopy full SHA for fd253ec
1 file changed
docs/error-messages/compiler-errors-1/compiler-error-c2014.md
@@ -19,14 +19,13 @@ The following example generates C2014:
19
20
```cpp
21
// C2014.cpp
22
-int k; #include <stdio.h> // C2014
23
-```
+// compile with: /c
24
25
-Possible resolution:
+int a; #define A // C2014
26
27
-```cpp
28
-// C2014b.cpp
29
-// compile with: /c
30
-int k;
31
-#include <stdio.h>
+int b;\
+#define B // C2014
+
+int c;
+#define C // OK
32
```
0 commit comments