Skip to content

Commit dce2a9e

Browse files
authored
Add blockquotes for error messages in range [C2021, C2040]
1 parent 459d9e4 commit dce2a9e

11 files changed

+11
-11
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2021.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 064f32e2-3794-48d5-9767-991003dcb36a
88
---
99
# Compiler Error C2021
1010

11-
expected exponent value, not 'character'
11+
> expected exponent value, not 'character'
1212
1313
The character used as the exponent of a floating-point constant is not a valid number. Be sure to use an exponent that is in range.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2022.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 1f5c477a-d909-42d8-8588-811586e8ba1e
88
---
99
# Compiler Error C2022
1010

11-
'number' : too big for character
11+
> 'number' : too big for character
1212
1313
The octal number following a backslash (\\) in a character or string constant is too big to represent a character.

docs/error-messages/compiler-errors-1/compiler-error-c2027.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: a39150c0-ec04-45ec-934c-a838bfe76627
88
---
99
# Compiler Error C2027
1010

11-
use of undefined type 'type'
11+
> use of undefined type 'type'
1212
1313
A type cannot be used until it is defined. To resolve the error, be sure the type is fully defined before referencing it.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2028.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 4e92e944-8fce-4443-9baf-4411ad9bde70
88
---
99
# Compiler Error C2028
1010

11-
struct/union member must be inside a struct/union
11+
> struct/union member must be inside a struct/union
1212
1313
Structure or union members must be declared within the structure or union.

docs/error-messages/compiler-errors-1/compiler-error-c2030.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 5806cead-64df-4eff-92de-52c9a3f5ee62
88
---
99
# Compiler Error C2030
1010

11-
a destructor with 'protected private' accessibility cannot be a member of a class declared 'sealed'
11+
> a destructor with 'protected private' accessibility cannot be a member of a class declared 'sealed'
1212
1313
A Windows Runtime class declared as **`sealed`** cannot have a protected private destructor. Only public virtual and private non-virtual destructors are allowed on sealed types. For more information, see [Ref classes and structs](../../cppcx/ref-classes-and-structs-c-cx.md).
1414

docs/error-messages/compiler-errors-1/compiler-error-c2032.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 625d7c83-70b6-42c2-a558-81fbc0026324
88
---
99
# Compiler Error C2032
1010

11-
'identifier' : function cannot be member of struct/union 'structorunion'
11+
> 'identifier' : function cannot be member of struct/union 'structorunion'
1212
1313
The structure or union has a member function, which is allowed in C++ but not in C. To resolve the error, either compile as a C++ program or remove the member function.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2033.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: fd5a1637-9db2-4c98-a7cc-b63b39737cd9
88
---
99
# Compiler Error C2033
1010

11-
'identifier' : bit field cannot have indirection
11+
> 'identifier' : bit field cannot have indirection
1212
1313
The bit field was declared as a pointer, which is not allowed.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2034.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 953d70fa-bde9-4ce6-a55d-741e7bc63ff4
88
---
99
# Compiler Error C2034
1010

11-
'identifier' : type of bit field too small for number of bits
11+
> 'identifier' : type of bit field too small for number of bits
1212
1313
The number of bits in the bit-field declaration exceeds the size of the base type.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2036.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 895821a9-65d1-44b5-bde1-dae827f3e486
88
---
99
# Compiler Error C2036
1010

11-
'identifier' : unknown size
11+
> 'identifier' : unknown size
1212
1313
An operation on `identifier` requires the size of the data object, which cannot be determined.
1414

docs/error-messages/compiler-errors-1/compiler-error-c2039.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ helpviewer_keywords: ["C2039"]
77
---
88
# Compiler Error C2039
99

10-
`'identifier1' : is not a member of 'identifier2'`
10+
> 'identifier1' : is not a member of 'identifier2'
1111
1212
The code incorrectly calls or refers to a member of a structure, class, or union.
1313

0 commit comments

Comments
 (0)