Skip to content

Commit 2ae5748

Browse files
Merge pull request #6074 from MicrosoftDocs/main
Auto Publish – main to live - 2025-09-08 17:30 UTC
2 parents 210c239 + a1aaa86 commit 2ae5748

32 files changed

+150
-127
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler warning C5033"
3-
description: Describes the causes and fixes for compiler warning C5033.
3+
description: "Describes the causes and fixes for compiler warning C5033."
44
ms.date: 05/03/2021
55
f1_keywords: ["C5033"]
66
helpviewer_keywords: ["C5033"]
@@ -9,10 +9,10 @@ helpviewer_keywords: ["C5033"]
99

1010
> '*storage-class-keyword*' is no longer a supported storage class
1111
12-
The **`auto`** and **`register`** storage class keywords have been deprecated or removed from the C++ language.
13-
1412
## Remarks
1513

14+
The **`auto`** and **`register`** storage class keywords have been deprecated or removed from the C++ language.
15+
1616
**Visual Studio 2010 and later:** In C++11, the **`auto`** keyword is no longer a C++ storage-class specifier, and the **`register`** keyword is deprecated.
1717

1818
**Visual Studio 2017 version 15.7 and later:** (available in [`/std:c++17`](../../build/reference/std-specify-language-standard-version.md) mode and later): The **`register`** keyword is removed from the C++ language in C++17 and later standards.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler warning C5037"
3-
description: Describes the causes and fixes for compiler warning C5037.
3+
description: "Describes the causes and fixes for compiler warning C5037."
44
ms.date: 04/18/2021
55
f1_keywords: ["C5037"]
66
helpviewer_keywords: ["C5037"]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Compiler Warning C5038"
3-
description: Describes the causes and fixes for compiler warning C5038.
3+
description: "Describes the causes and fixes for compiler warning C5038."
44
ms.date: 05/03/2021
55
f1_keywords: ["C5038"]
66
helpviewer_keywords: ["C5038"]

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
description: "Learn more about: Compiler Warning C5045"
32
title: "Compiler Warning C5045"
4-
ms.date: "06/21/2018"
3+
description: "Learn more about: Compiler Warning C5045"
4+
ms.date: 06/21/2018
55
f1_keywords: ["C5045"]
66
helpviewer_keywords: ["C5045"]
77
---

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
description: "Learn more about: Compiler Warning (level 2) C5046"
32
title: "Compiler Warning C5046"
4-
ms.date: "03/21/2019"
3+
description: "Learn more about: Compiler Warning (level 2) C5046"
4+
ms.date: 03/21/2019
55
f1_keywords: ["C5046"]
66
helpviewer_keywords: ["C5046"]
77
---
@@ -25,7 +25,7 @@ This warning is new in Visual Studio 2017 version 15.8.
2525

2626
## Example
2727

28-
This sample shows two C5046 warnings:
28+
This example shows two C5046 warnings:
2929

3030
```cpp
3131
// C5046p.cpp

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

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

docs/error-messages/compiler-warnings/compiler-warning-c4950.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
---
2-
description: "Learn more about: Compiler Warning C4950"
32
title: "Compiler Warning C4950"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Compiler Warning C4950"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C4950"]
66
helpviewer_keywords: ["C4950"]
7-
ms.assetid: 50226a5c-c664-4d09-ac59-e9e874ca244f
87
---
98
# Compiler Warning C4950
109

11-
'type_or_member' : marked as obsolete
10+
> 'type_or_member' : marked as obsolete
11+
12+
## Remarks
1213

1314
A member or type was marked as obsolete with the <xref:System.ObsoleteAttribute> attribute.
1415

1516
C4950 is always issued as an error. You can turn off this warning by using the [warning](../../preprocessor/warning.md) pragma directive or the [/wd](../../build/reference/compiler-option-warning-level.md) compiler option.
1617

1718
## Example
1819

19-
The following sample generates C4950:
20+
The following example generates C4950:
2021

2122
```cpp
2223
// C4950.cpp

docs/error-messages/compiler-warnings/compiler-warning-c4956.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Compiler Warning C4956"
32
title: "Compiler Warning C4956"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Compiler Warning C4956"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C4956"]
66
helpviewer_keywords: ["C4956"]
7-
ms.assetid: 9154f2d1-d49f-4e07-90d2-0e9bc028011a
87
---
98
# Compiler Warning C4956
109

@@ -20,7 +19,7 @@ This warning is issued as an error and can be disabled with the [warning](../../
2019

2120
## Example
2221

23-
The following sample generates C4956:
22+
The following example generates C4956:
2423

2524
```cpp
2625
// C4956.cpp

docs/error-messages/compiler-warnings/compiler-warning-c4957.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Compiler Warning C4957"
32
title: "Compiler Warning C4957"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Compiler Warning C4957"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C4957"]
66
helpviewer_keywords: ["C4957"]
7-
ms.assetid: a18c52d4-23e2-44f1-b4b5-f7fa5a7f3987
87
---
98
# Compiler Warning C4957
109

@@ -24,7 +23,7 @@ This warning is issued as an error and can be disabled with the [warning](../../
2423

2524
## Example
2625

27-
The following sample generates C4957:
26+
The following example generates C4957:
2827

2928
```cpp
3029
// C4957.cpp

docs/error-messages/compiler-warnings/compiler-warning-c4958.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
description: "Learn more about: Compiler Warning C4958"
32
title: "Compiler Warning C4958"
4-
ms.date: "11/04/2016"
3+
description: "Learn more about: Compiler Warning C4958"
4+
ms.date: 11/04/2016
55
f1_keywords: ["C4958"]
66
helpviewer_keywords: ["C4958"]
7-
ms.assetid: e79b9e9c-d572-4a3a-a3b6-60962b70864a
87
---
98
# Compiler Warning C4958
109

@@ -20,9 +19,9 @@ The **/clr:safe** compiler option is deprecated in Visual Studio 2015 and unsupp
2019

2120
This warning is issued as an error and can be disabled with the [warning](../../preprocessor/warning.md) pragma or the [/wd](../../build/reference/compiler-option-warning-level.md) compiler option.
2221

23-
## Example
22+
## Examples
2423

25-
The following sample generates C4958:
24+
The following example generates C4958:
2625

2726
```cpp
2827
// C4958.cpp
@@ -39,7 +38,7 @@ int main( ) {
3938
4039
The compiler implements array operations with pointer arithmetic. Therefore, native arrays are not verifiable; use a CLR array instead. For more information, see [array](../../extensions/arrays-cpp-component-extensions.md).
4140
42-
The following sample generates C4958:
41+
The following example generates C4958:
4342
4443
```cpp
4544
// C4958b.cpp

0 commit comments

Comments
 (0)