Skip to content

Commit dcd4480

Browse files
authored
Add blockquotes for error messages in range [C2101, C2120]
1 parent df4242d commit dcd4480

17 files changed

+17
-17
lines changed

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

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

10-
'&' on constant
10+
> '&' on constant
1111
1212
The [address-of operator (**`&`**)](../../cpp/address-of-operator-amp.md) must have an l-value as operand.
1313

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

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

10-
'&' requires l-value
10+
> '&' requires l-value
1111
1212
The [address-of operator (**`&`**)](../../cpp/address-of-operator-amp.md) must have an l-value as operand. Address of temporary values cannot be taken.
1313

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

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

10-
'&' on register variable
10+
> '&' on register variable
1111
1212
You cannot take the address of a register.
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2ea78896-72a6-4901-a1fa-f33ea88ad61b
88
---
99
# Compiler Error C2104
1010

11-
'&' on bit field ignored
11+
> '&' on bit field ignored
1212
1313
You cannot take the address of a bit field.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 19b7f7bc-a9da-4d23-8193-005b6d09274f
88
---
99
# Compiler Error C2105
1010

11-
'operator' needs l-value
11+
> 'operator' needs l-value
1212
1313
The operator must have an l-value as operand.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d5c91a2e-04e4-4770-8478-788b98c52a53
88
---
99
# Compiler Error C2106
1010

11-
'operator' : left operand must be l-value
11+
> 'operator' : left operand must be l-value
1212
1313
The operator must have an l-value as its left operand.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2866a121-884e-4bb5-8613-36de5817000e
88
---
99
# Compiler Error C2107
1010

11-
illegal index, indirection not allowed
11+
> illegal index, indirection not allowed
1212
1313
A subscript is applied to an expression that does not evaluate to a pointer.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2d1ac79d-a985-4904-a38b-b270578d664d
88
---
99
# Compiler Error C2109
1010

11-
subscript requires array or pointer type
11+
> subscript requires array or pointer type
1212
1313
The subscript was used on a variable that was not an array.
1414

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

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

10-
'+' : cannot add two pointers
10+
> '+' : cannot add two pointers
1111
1212
An attempt was made to add two pointer values using the plus (`+`) operator.
1313

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

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

10-
'+' : pointer addition requires integral operand
10+
> '+' : pointer addition requires integral operand
1111
1212
An attempt was made to add a nonintegral value to a pointer using the plus (`+`) operator.
1313

0 commit comments

Comments
 (0)