Skip to content

Commit acfa37c

Browse files
authored
Add leading example sentence in C4066, C4067, and C4077 warning reference
1 parent 2421b03 commit acfa37c

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4067.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The compiler found and ignored extra characters following a preprocessor directi
1515

1616
## Example
1717

18+
The following example generates C4067:
19+
1820
```cpp
1921
// C4067a.cpp
2022
// compile with: cl /EHsc /DX /W1 /Za C4067a.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4077.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ The compiler ignores the pragma and leaves the stack checking unchanged.
1717

1818
## Example
1919

20+
The following example generates C4077:
21+
2022
```cpp
2123
// C4077.cpp
2224
// compile with: /W1 /LD

docs/error-messages/compiler-warnings/compiler-warning-level-3-c4066.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ The compiler processes only the first character of a wide-character constant.
1515

1616
## Example
1717

18+
The following example generates C4066:
19+
1820
```cpp
1921
// C4066.cpp
2022
// compile with: /W3

0 commit comments

Comments
 (0)