Skip to content

Commit 798f6f6

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#1659 from NextTurn/cpp-1
Add language identifiers
2 parents c9a1171 + e47d481 commit 798f6f6

20 files changed

Lines changed: 23 additions & 23 deletions

‎docs/error-messages/compiler-warnings/compiler-warning-c4335.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ One way to generate files in Macintosh format is by using the **Advanced Save Op
1919

2020
The following sample generates C4335.
2121

22-
```
22+
```cpp
2323
// C4335 expected
2424
#include "c4335.h" // assume both include files are in Macintosh format
2525
#include "c4335_2.h"

‎docs/error-messages/compiler-warnings/compiler-warning-c4355.md‎

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

1818
The following sample generates C4355:
1919

20-
```
20+
```cpp
2121
// C4355.cpp
2222
// compile with: /w14355 /c
2323
#include <tchar.h>

‎docs/error-messages/compiler-warnings/compiler-warning-c4368.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This warning is always issued as an error. Use the [warning](../../preprocessor/
1919

2020
The following sample generates C4368.
2121

22-
```
22+
```cpp
2323
// C4368.cpp
2424
// compile with: /clr /c
2525
struct N {};

‎docs/error-messages/compiler-warnings/compiler-warning-c4394.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ C4394 is always issued as an error. You can turn off this warning with the `#pr
1919

2020
The following sample generates C4394.
2121

22-
```
22+
```cpp
2323
// C4394.cpp
2424
// compile with: /clr /c
2525
__declspec(dllexport) __declspec(appdomain) int g1 = 0; // C4394

‎docs/error-messages/compiler-warnings/compiler-warning-c4430.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ C4430 is always issued as an error. You can turn off this warning with the `#pr
1717

1818
The following sample generates C4430.
1919

20-
```
20+
```cpp
2121
// C4430.cpp
2222
// compile with: /c
2323
struct CMyClass {

‎docs/error-messages/compiler-warnings/compiler-warning-c4439.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ C4439 is always issued as an error. You can turn off this warning with the `#pra
1717

1818
The following sample generates C4439.
1919

20-
```
20+
```cpp
2121
// C4439.cpp
2222
// compile with: /clr
2323
void __stdcall f( System::String^ arg ) {} // C4439

‎docs/error-messages/compiler-warnings/compiler-warning-c4484.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ C4484 is always issued as an error. Use the [warning](../../preprocessor/warning
2525

2626
The following sample generates C4484.
2727

28-
```
28+
```cpp
2929
// C4484.cpp
3030
// compile with: /clr
3131
ref struct A {

‎docs/error-messages/compiler-warnings/compiler-warning-c4485.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ C4485 is always issued as an error. Use the [warning](../../preprocessor/warning
1919

2020
The following sample generates C4485
2121

22-
```
22+
```cpp
2323
// C4485.cpp
2424
// compile with: /clr
2525
delegate void Del();

‎docs/error-messages/compiler-warnings/compiler-warning-c4867.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This warning is always issued as an error. Use the [warning](../../preprocessor/
1919

2020
The following sample generates C4867.
2121

22-
```
22+
```cpp
2323
// C4867.cpp
2424
// compile with: /c
2525
class A {

‎docs/error-messages/compiler-warnings/compiler-warning-c4972.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For more information, see [Boxing](../../extensions/boxing-cpp-component-extensi
1717

1818
The following sample generates C4972.
1919

20-
```
20+
```cpp
2121
// C4972.cpp
2222
// compile with: /clr:safe
2323
using namespace System;

0 commit comments

Comments
 (0)