Skip to content

Commit a3f18e6

Browse files
authored
Add blockquotes for warning messages in range [C4751, C4830]
1 parent dda89e0 commit a3f18e6

22 files changed

+22
-22
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: dafe6fd8-9faf-41f5-9d66-a55838742c14
88
---
99
# Compiler Warning (level 1) C4772
1010

11-
> \#import referenced a type from a missing type library; '*missing-type*' used as a placeholder
11+
> #import referenced a type from a missing type library; '*missing-type*' used as a placeholder
1212
1313
A type library was referenced with the [#import](../../preprocessor/hash-import-directive-cpp.md) directive. However, the type library contained a reference to another type library that was not referenced with `#import`. This other .tlb file was not found by the compiler.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 47d75bda-f833-4bdd-93a0-a134df0cd303
88
---
99
# Compiler Warning (Level 1) C4788
1010

11-
'identifier' : identifier was truncated to 'number' characters
11+
> 'identifier' : identifier was truncated to 'number' characters
1212
1313
The compiler limits the maximum length allowed for a function name. When the compiler generates funclets for EH/SEH code, it forms the funclet name by prepending the function name with some text, for example "__catch", "\__unwind", or another string.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: badc9c36-fa1a-4fec-929b-7bfda7a7b79f
88
---
99
# Compiler Warning (level 1) C4794
1010

11-
segment of thread local storage variable 'variable' changed from 'section name' to '.tls$'
11+
> segment of thread local storage variable 'variable' changed from 'section name' to '.tls$'
1212
1313
You used [#pragma data_seg](../../preprocessor/data-seg.md) to put a tls variable in a section not starting with .tls$.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2552f3a6-c418-49f4-98a2-a929857be658
88
---
99
# Compiler Warning (level 1) C4803
1010

11-
'method' : the raise method has a different storage class from that of the event, 'event'
11+
> 'method' : the raise method has a different storage class from that of the event, 'event'
1212
1313
Event methods must have the same storage class as the event declaration. The compiler adjusts the event's methods so that the storage classes are the same.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 069e8f44-3ef6-43bb-8524-4116fc6eea83
88
---
99
# Compiler Warning (level 1) C4804
1010

11-
'operation' : unsafe use of type 'bool' in operation
11+
> 'operation' : unsafe use of type 'bool' in operation
1212
1313
This warning is for when you used a **`bool`** variable or value in an unexpected way. For example, C4804 is generated if you use operators such as the negative unary operator (**-**) or the complement operator (`~`). The compiler evaluates the expression.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 99c7b7e2-272e-4ab5-8580-17c42e62e2ef
88
---
99
# Compiler Warning (level 1) C4805
1010

11-
'operation' : unsafe mix of type 'type' and type 'type' in operation
11+
> 'operation' : unsafe mix of type 'type' and type 'type' in operation
1212
1313
This warning is generated for comparison operations between [bool](../../cpp/bool-cpp.md) and [int](../../c-language/integer-types.md). The following sample generates C4805:
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 79eb74cd-b925-4b5b-84e1-8ae6f33e38b3
88
---
99
# Compiler Warning (level 1) C4806
1010

11-
'operation' : unsafe operation: no value of type 'type' promoted to type 'type' can equal the given constant
11+
> 'operation' : unsafe operation: no value of type 'type' promoted to type 'type' can equal the given constant
1212
1313
This message warns against code such as `b == 3`, where `b` has type **`bool`**. The promotion rules cause **`bool`** to be promoted to **`int`**. This is legal, but it can never be **`true`**. The following sample generates C4806:
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 089c9f87-fd81-402e-9826-66a8ef1ef1fe
88
---
99
# Compiler Warning (level 1) C4807
1010

11-
'operation' : unsafe mix of type 'type' and signed bitfield of type 'type'
11+
> 'operation' : unsafe mix of type 'type' and signed bitfield of type 'type'
1212
1313
This warning is generated when comparing a one-bit signed bit field to a **`bool`** variable. Because a one-bit, signed bit field can only contain the values -1 or 0, it is dangerous to compare it to **`bool`**. No warnings are generated about mixing **`bool`** and one-bit, unsigned bitfields since they are identical to **`bool`** and can only hold 0 or 1.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 39e2cae0-9c1c-4ac1-aaa0-5f661d06085b
88
---
99
# Compiler Warning (level 1) C4810
1010

11-
value of pragma pack(show) == n
11+
> value of pragma pack(show) == n
1212
1313
This warning is issued when you use the **show** option of the [pack](../../preprocessor/pack.md) pragma. *n* is the current pack value.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: fbd79351-3dc1-45cf-b5b3-411f48c1590f
88
---
99
# Compiler Warning (level 1) C4811
1010

11-
value of pragma conform(forScope, show) == value
11+
> value of pragma conform(forScope, show) == value
1212
1313
This warning is issued when you use the **show** option of the [conform](../../preprocessor/conform.md) pragma. *value* is the current conform value.

0 commit comments

Comments
 (0)