Skip to content

Commit 4e014eb

Browse files
authored
Structure warning references in range [C5051, C5999] (#5739)
* Add "Remarks" headings for warning references in range [C5051, C5999] * Replace term "sample" with "example" for warning references in range [C5051, C5999] * Update metadata for warning references in range [C5051, C5999]
1 parent 08c41c9 commit 4e014eb

File tree

14 files changed

+25
-21
lines changed

14 files changed

+25
-21
lines changed

docs/error-messages/compiler-warnings/c5054.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5054"
3-
description: Compiler warning C5054 description and solution.
3+
description: "Compiler warning C5054 description and solution."
44
ms.date: 02/22/2022
55
f1_keywords: ["C5054"]
66
helpviewer_keywords: ["C5054"]

docs/error-messages/compiler-warnings/c5055.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5055"
3-
description: Compiler warning C5055 description and solution.
3+
description: "Compiler warning C5055 description and solution."
44
ms.date: 02/22/2022
55
f1_keywords: ["C5055"]
66
helpviewer_keywords: ["C5055"]

docs/error-messages/compiler-warnings/c5056.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5056"
3-
description: Compiler warning C5056 description and solution.
3+
description: "Compiler warning C5056 description and solution."
44
ms.date: 02/22/2022
55
f1_keywords: ["C5056"]
66
helpviewer_keywords: ["C5056"]

docs/error-messages/compiler-warnings/c5105.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Compiler Warning C5105"
3-
description: Compiler warning C5105 description and solution.
4-
ms.date: "09/22/2019"
3+
description: "Compiler warning C5105 description and solution."
4+
ms.date: 09/22/2019
55
f1_keywords: ["C5105"]
66
helpviewer_keywords: ["C5105"]
77
---
@@ -29,7 +29,7 @@ To turn off the warning for an entire project in the Visual Studio IDE:
2929

3030
## Example
3131

32-
This sample program shows how to generate warning C5105, and how to fix it.
32+
This example program shows how to generate warning C5105, and how to fix it.
3333

3434
```cpp
3535
// C5105.cpp

docs/error-messages/compiler-warnings/c5208.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5208, Error C7626"
3-
description: Compiler warning C5208 and error C7626 description and solution.
3+
description: "Compiler warning C5208 and error C7626 description and solution."
44
ms.date: 04/18/2021
55
f1_keywords: ["C5208", "C7626"]
66
helpviewer_keywords: ["C5208", "C7626"]
@@ -33,7 +33,7 @@ To turn off the warning for an entire project in the Visual Studio IDE:
3333

3434
## Example
3535

36-
The following sample shows the constructs that are no longer allowed in unnamed structs. Depending on the standards mode specified, C5208 or C7626 errors or warnings are emitted:
36+
The following example shows the constructs that are no longer allowed in unnamed structs. Depending on the standards mode specified, C5208 or C7626 errors or warnings are emitted:
3737

3838
```cpp
3939
struct Base { };

docs/error-messages/compiler-warnings/c5240.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5240"
3-
description: Compiler warning C5240 description and solution.
3+
description: "Compiler warning C5240 description and solution."
44
ms.date: 02/22/2022
55
f1_keywords: ["C5240"]
66
helpviewer_keywords: ["C5240"]

docs/error-messages/compiler-warnings/c5243.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Compiler warning C5243
3-
description: Compiler warning C5243 description and solution.
2+
title: "Compiler warning C5243"
3+
description: "Compiler warning C5243 description and solution."
44
ms.date: 08/09/2021
55
f1_keywords: ["C5243"]
66
helpviewer_keywords: ["C5243"]

docs/error-messages/compiler-warnings/c5247.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5247"
3-
description: Compiler warning C5247 description and solution.
3+
description: "Compiler warning C5247 description and solution."
44
ms.date: 08/02/2021
55
f1_keywords: ["C5247"]
66
helpviewer_keywords: ["C5247"]

docs/error-messages/compiler-warnings/c5248.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5248"
3-
description: Compiler warning C5248 description and solution.
3+
description: "Compiler warning C5248 description and solution."
44
ms.date: 08/02/2021
55
f1_keywords: ["C5248"]
66
helpviewer_keywords: ["C5248"]

docs/error-messages/compiler-warnings/c5262.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler warning (level 1, error, off) C5262"
3-
description: Compiler warning C5262 description and solution.
3+
description: "Compiler warning C5262 description and solution."
44
ms.date: 03/01/2023
55
f1_keywords: ["C5262"]
66
helpviewer_keywords: ["C5262"]
@@ -17,7 +17,7 @@ Compiler warning C5262 is new in Visual Studio 2022 version 17.4, and is both of
1717

1818
## Example
1919

20-
The sample code shows diagnostics for `switch` cases that fall through without `break` or `return` statements or the `[[fallthrough]]` attribute.
20+
The example code shows diagnostics for `switch` cases that fall through without `break` or `return` statements or the `[[fallthrough]]` attribute.
2121

2222
```cpp
2323
// C5262.cpp

0 commit comments

Comments
 (0)