Skip to content

Commit abb9466

Browse files
authored
Merge pull request #5791 from Rageking8/fix-mismatched-error-warning-code-in-example-leading-sentences
Fix mismatched error/warning code in example leading sentences
2 parents e05a9da + 0923793 commit abb9466

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2201.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The exported identifier is **`static`**.
1515

1616
## Example
1717

18-
The following example generates C2286, and shows how to fix it:
18+
The following example generates C2201, and shows how to fix it:
1919

2020
```cpp
2121
// C2201.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2250.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The derived class inherits more than one override of a virtual function of a vir
1515

1616
## Example
1717

18-
The following example generates C2286:
18+
The following example generates C2250:
1919

2020
```cpp
2121
// C2250.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2380.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A constructor returns a value or redefines the class name.
1515

1616
## Example
1717

18-
The following example generates C2326:
18+
The following example generates C2380:
1919

2020
```cpp
2121
// C2380.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2391.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The **`friend`** declaration includes a complete class declaration. A **`friend`
1515

1616
## Example
1717

18-
The following example generates C2326:
18+
The following example generates C2391:
1919

2020
```cpp
2121
// C2391.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2449.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This error can be caused by a semicolon between a function header and the openin
1717

1818
## Example
1919

20-
The following example generates C2499:
20+
The following example generates C2449:
2121

2222
```c
2323
// C2449.c

docs/error-messages/compiler-errors-2/compiler-error-c2652.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The first parameter in the copy constructor has the same type as the class, stru
1515

1616
## Example
1717

18-
The following example generates C2651:
18+
The following example generates C2652:
1919

2020
```cpp
2121
// C2652.cpp

docs/error-messages/compiler-errors-2/compiler-error-c3239.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The compiler encountered an invalid type.
1515

1616
## Example
1717

18-
The following example generates C3229:
18+
The following example generates C3239:
1919

2020
```cpp
2121
// C3239.cpp

docs/error-messages/compiler-errors-2/compiler-error-c3469.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public ref class GR {};
2828
public ref class GR2 {};
2929
```
3030
31-
The following example generates C3466.
31+
The following example generates C3469.
3232
3333
```cpp
3434
// C3469_b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A default template argument was specified in an incorrect location and was ignor
1515

1616
## Example
1717

18-
This example generates C4545, and the next example shows how to fix it:
18+
This example generates C4544, and the next example shows how to fix it:
1919

2020
```cpp
2121
// C4544.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ helpviewer_keywords: ["C4580"]
1515

1616
## Example
1717

18-
The following example generates C3454 and shows how to fix it.
18+
The following example generates C4580 and shows how to fix it.
1919

2020
```cpp
2121
// C4580.cpp

0 commit comments

Comments
 (0)