Skip to content

Commit 1d3c9f0

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#2497 from MicrosoftDocs/FromPublicMasterBranch
Confirm merge from FromPublicMasterBranch to master to sync with https://github.com/MicrosoftDocs/cpp-docs (branch master)
2 parents 2aa50eb + 7425820 commit 1d3c9f0

21 files changed

Lines changed: 21 additions & 21 deletions

docs/build/reference/hint-files.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A hint file contains user-customizable hints, which have the same syntax as C/C+
2424
> [!IMPORTANT]
2525
> If you modify or add a hint file, you need to take additional steps in order for the changes to take effect:
2626
> - In versions before Visual Studio 2017 version 15.6: Delete the .sdf file and/or VC.db file in the solution for all changes.
27-
> - In Visual Studio 2017 versions 15.6 through 15.9: Close and reopen the solution after adding new hint files.
27+
> - In Visual Studio 2017 version 15.6 and later: Close and reopen the solution after adding new hint files.
2828
2929
## Scenario
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Use the [warning](../../preprocessor/warning.md) pragma to suppress this warning
1717

1818
The following sample generates C4521.
1919

20-
```
20+
```cpp
2121
// C4521.cpp
2222
// compile with: /EHsc /W3
2323
#include <iostream>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Use the [warning](../../preprocessor/warning.md) pragma to suppress this warning
1717

1818
The following sample generates C4522.
1919

20-
```
20+
```cpp
2121
// C4522.cpp
2222
// compile with: /EHsc /W3
2323
#include <iostream>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ For more information, see [Classes and Structs](../../extensions/classes-and-str
1515

1616
The following sample generates C4534:
1717

18-
```
18+
```cpp
1919
// C4534.cpp
2020
// compile with: /W3 /clr /WX
2121
value class MyClass {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The use of [_set_se_translator](../../c-runtime-library/reference/set-se-transla
1515

1616
The following sample generates C4535.
1717

18-
```
18+
```cpp
1919
// C4535.cpp
2020
// compile with: /W3 /EHsc /c
2121
// C4535 expected

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A qualifier keyword was applied to an array incorrectly. For more information, s
1313

1414
The following sample generates C4538:
1515

16-
```
16+
```cpp
1717
// C4538.cpp
1818
// compile with: /clr /W3 /LD
1919
const array<int> ^f1(); // C4538

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.assetid: 55bb68f0-2e80-4330-8921-51083c4f8d53
1111

1212
The following sample generates C4554:
1313

14-
```
14+
```cpp
1515
// C4554.cpp
1616
// compile with: /W3 /WX
1717
int main() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This warning is off by default. See [Compiler Warnings That Are Off by Default](
1515

1616
The following sample generates C4557:
1717

18-
```
18+
```cpp
1919
// C4557.cpp
2020
// compile with: /W3
2121
#pragma warning(default : 4557)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A type that contains [abstract](../../extensions/abstract-cpp-component-extensio
1515

1616
The following sample generates C4570.
1717

18-
```
18+
```cpp
1919
// C4570.cpp
2020
// compile with: /clr /W3 /c
2121
ref struct X { // C4570

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Two members of the same union were initialized in an initialization list. You ca
1313

1414
The following sample generates C4608:
1515

16-
```
16+
```cpp
1717
// C4608.cpp
1818
// compile with: /W3 /c
1919
class X {

0 commit comments

Comments
 (0)