Skip to content

Commit c5607bc

Browse files
committed
Add language identifiers
1 parent 7f45f54 commit c5607bc

20 files changed

+21
-21
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4336.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ library C4336bLib
4444

4545
The following sample generates C4336:
4646

47-
```
47+
```cpp
4848
// C4336.cpp
4949
// compile with: /W4 /LD
5050
// #import "C4336a.tlb"

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4337.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ library C4337bLib
5252

5353
The following sample generates C4337:
5454

55-
```
55+
```cpp
5656
// C4337.cpp
5757
// compile with: /W4 /LD
5858
#import "c4337b.tlb" auto_search // C4337

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4339.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 C4339 and shows how to fix it:
1717

18-
```
18+
```cpp
1919
// C4339.cpp
2020
// compile with: /W4 /clr /c
2121
// C4339 expected

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4343.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This warning, only valid in the Itanium Processor Family (IPF) compiler, reports
1313

1414
The following sample generates C4343:
1515

16-
```
16+
```cpp
1717
// C4343.cpp
1818
// compile with: /Og /W4 /LD
1919
// processor: IPF

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4365.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ C4365 is off by default. For more information, see [Compiler Warnings That Are
1717

1818
The following sample generates C4365.
1919

20-
```
20+
```cpp
2121
// C4365.cpp
2222
// compile with: /W4
2323
#pragma warning(default:4365)

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4366.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ For more information, see __unaligned and [pack](../../preprocessor/pack.md).
1919

2020
The following sample generates C4366.
2121

22-
```
22+
```cpp
2323
// C4366.cpp
2424
// compile with: /W4 /c
2525
// processor: IPF x64

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4389.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ An operation involved signed and unsigned variables. This could result in a loss
1313

1414
The following sample generates C4389:
1515

16-
```
16+
```cpp
1717
// C4389.cpp
1818
// compile with: /W4
1919
#pragma warning(default: 4389)

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4400.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The [const](../../cpp/const-cpp.md)and [volatile](../../cpp/volatile-cpp.md)qual
1515

1616
The following sample generates C4400.
1717

18-
```
18+
```cpp
1919
// C4400.cpp
2020
// compile with: /clr /W4
2121
// C4401 expected

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4408.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ An anonymous struct or union must have at least one data member.
1313

1414
The following sample generates C4408:
1515

16-
```
16+
```cpp
1717
// C4408.cpp
1818
// compile with: /W4 /LD
1919
static union

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4429.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The compiler detected a character sequence that may be a badly formed universal
1313

1414
The following sample generates C4429:
1515

16-
```
16+
```cpp
1717
// C4429.cpp
1818
// compile with: /W4 /WX
1919
int \ug0e4 = 0; // C4429

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4431.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 C4431.
1919

20-
```
20+
```c
2121
// C4431.c
2222
// compile with: /c /W4
2323
#pragma warning(default:4431)

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4434.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ C4434 indicates that the compiler changed the accessibility of a static construc
1515

1616
The following sample generates C4434.
1717

18-
```
18+
```cpp
1919
// C4434.cpp
2020
// compile with: /W4 /c /clr
2121
public ref struct R {

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4460.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You passed a value by reference to a user-defined Windows Runtime or CLR operato
1515

1616
The following sample generates C4460 and shows how to fix it.
1717

18-
```
18+
```cpp
1919
// C4460.cpp
2020
// compile with: /W4 /clr
2121
#include <stdio.h>

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4481.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ A keyword was used that is not in the C++ standard, for example, one of the over
1919

2020
The following sample generates C4481.
2121

22-
```
22+
```cpp
2323
// C4481.cpp
2424
// compile with: /W4 /c
2525
class B {

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4487.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For more information, see [new (new slot in vtable)](../../extensions/new-new-sl
1717

1818
The following sample generates C4487.
1919

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

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4512.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ You can resolve the C4512 warning for your code in one of three ways:
2929

3030
The following sample generates C4512.
3131

32-
```
32+
```cpp
3333
// C4512.cpp
3434
// compile with: /EHsc /W4
3535
// processor: x86

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4514.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 C4514:
1717

18-
```
18+
```cpp
1919
// C4514.cpp
2020
// compile with: /W4
2121
#pragma warning(default : 4514)

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4515.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A namespace is used recursively.
1313

1414
The following sample generates C4515:
1515

16-
```
16+
```cpp
1717
// C4515.cpp
1818
// compile with: /W4
1919
namespace A

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4516.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The ANSI C++ committee has declared access declarations (changing the access of
1313

1414
The following sample generates C4516:
1515

16-
```
16+
```cpp
1717
// C4516.cpp
1818
// compile with: /W4
1919
class A

docs/error-messages/compiler-warnings/compiler-warning-level-4-c4564.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The compiler detected a method with one or more parameters with default values.
1313

1414
Given the following .dll created with Visual Basic, which allows default parameters on method arguments:
1515

16-
```
16+
```vb
1717
' C4564.vb
1818
' compile with: vbc /t:library C4564.vb
1919
Public class TestClass
@@ -25,7 +25,7 @@ End class
2525

2626
And the following C++ sample that uses the .dll created with Visual Basic,
2727

28-
```
28+
```cpp
2929
// C4564.cpp
3030
// compile with: /clr /W4 /WX
3131
#using <C4564.dll>

0 commit comments

Comments
 (0)