Skip to content

Commit ebfa74b

Browse files
authored
Add blockquotes for warning messages in range [C4831, C4940]
1 parent dda89e0 commit ebfa74b

22 files changed

+22
-22
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8a257d70-c3a7-462d-b285-e57c952a8bf7
88
---
99
# Compiler Warning C4867
1010

11-
'function': function call missing argument list; use 'call' to create a pointer to member
11+
> 'function': function call missing argument list; use 'call' to create a pointer to member
1212
1313
A pointer to member function was initialized incorrectly.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4835.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d2e44c62-7b0e-4a45-943d-97903e27ed9d
88
---
99
# Compiler Warning (level 1) C4835
1010

11-
'variable' : the initializer for exported data will not be run until managed code is first executed in the host assembly
11+
> 'variable' : the initializer for exported data will not be run until managed code is first executed in the host assembly
1212
1313
When accessing data between managed components, it is recommended that you not use native C++ import and export mechanisms. Instead, declare your data members inside a managed type and reference the metadata with `#using` in the client. For more information, see [#using Directive](../../preprocessor/hash-using-directive-cpp.md).
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4838.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: fea07924-5feb-4ed4-99b5-1a8c41d28db6
88
---
99
# Compiler Warning (level 1) C4838
1010

11-
conversion from 'type_1' to 'type_2' requires a narrowing conversion
11+
> conversion from 'type_1' to 'type_2' requires a narrowing conversion
1212
1313
An implicit narrowing conversion was found when using aggregate or list initialization.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4900.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 826997ec-0803-4794-ad35-bb463f679658
88
---
99
# Compiler Warning (level 1) C4900
1010

11-
intermediate language mismatch between 'tool1' version 'version1' and 'tool2' version 'version2'
11+
> intermediate language mismatch between 'tool1' version 'version1' and 'tool2' version 'version2'
1212
1313
The intermediate language used in *tool1* and *tool2* did not match. Check that the most current version of each tool has been installed.

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4905.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 40240bf4-b14e-4c22-aeb2-52f2851532f6
88
---
99
# Compiler Warning (level 1) C4905
1010

11-
wide string literal cast to 'LPSTR'
11+
> wide string literal cast to 'LPSTR'
1212
1313
The compiler detected an unsafe cast. The cast did succeed, but you should use a conversion routine.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4906.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 05318e74-799b-412a-9dce-f02b8161d762
88
---
99
# Compiler Warning (level 1) C4906
1010

11-
string literal cast to 'LPWSTR'
11+
> string literal cast to 'LPWSTR'
1212
1313
The compiler detected an unsafe cast. The cast did succeed, but you should use a conversion routine.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4910.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 67963560-fbca-4ca7-93db-06beaf7055f0
88
---
99
# Compiler Warning (level 1) C4910
1010

11-
'\<identifier>' : '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
11+
> '\<identifier>' : '__declspec(dllexport)' and 'extern' are incompatible on an explicit instantiation
1212
1313
The explicit template instantiation named *\<identifier>* is modified by both the `__declspec(dllexport)` and **`extern`** keywords. However, these keywords are mutually exclusive. The `__declspec(dllexport)` keyword means instantiate the template class, while the **`extern`** keyword means do not automatically instantiate the template class.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4912.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ba1f1a66-8c20-4792-9ac8-43e49f729ae2
88
---
99
# Compiler Warning (level 1) C4912
1010

11-
'attribute': attribute has undefined behavior on a nested UDT
11+
> 'attribute': attribute has undefined behavior on a nested UDT
1212
1313
Attributes that apply to nested UDTs (user-defined type, which could be a typedef, union, or struct) may be ignored.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4917.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c05e2610-4a5d-4f4b-a99b-c15fd7f1d5f1
88
---
99
# Compiler Warning (level 1) C4917
1010

11-
'declarator' : a GUID can only be associated with a class, interface or namespace
11+
> 'declarator' : a GUID can only be associated with a class, interface or namespace
1212
1313
A user-defined structure other than [class](../../cpp/class-cpp.md), [interface](../../cpp/interface.md), or [namespace](../../cpp/namespaces-cpp.md) cannot have a GUID.
1414

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4920.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1e501f2e-93c1-4d27-a4fa-54fc86271ae7
88
---
99
# Compiler Warning (level 1) C4920
1010

11-
enum enum member member=value already seen in enum enum as member=value
11+
> enum enum member member=value already seen in enum enum as member=value
1212
1313
If a .tlb that you pass to #import has the same symbol defined in two or more enums, this warning indicates that subsequent identical symbols are ignored and will be commented out in the .tlh file.
1414

0 commit comments

Comments
 (0)