Skip to content

Commit 5d6ebc7

Browse files
authored
Add blockquotes for error messages in range [C2491, C2520]
1 parent 6a1f9a4 commit 5d6ebc7

22 files changed

+22
-22
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 4e5a8f81-124e-402c-a5ec-d35a89b5469e
88
---
99
# Compiler Error C2491
1010

11-
'identifier' : definition of dllimport function not allowed
11+
> 'identifier' : definition of dllimport function not allowed
1212
1313
Data, static data members, and functions can be declared as `dllimport`s but not defined as `dllimport`s.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8c44c9bb-c366-4fe5-a0ab-882e38608aaa
88
---
99
# Compiler Error C2492
1010

11-
'*variable*': data with thread storage duration may not have dll interface
11+
> '*variable*': data with thread storage duration may not have dll interface
1212
1313
The variable is declared with the [thread](../../cpp/thread.md) attribute and with the DLL interface. The address of the `thread` variable is not known until run time, so it cannot be linked to a DLL import or export.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 68316cd5-682b-49c3-b6ea-23c4e5d296cf
88
---
99
# Compiler Error C2493
1010

11-
illegal form of __based
11+
> illegal form of __based
1212
1313
A **`__based`** expression must be based on a pointer.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: bb7066fe-3549-4901-97e4-157f3c04dd57
88
---
99
# Compiler Error C2495
1010

11-
'identifier' : 'nothrow' can only be applied to function declarations or definitions
11+
> 'identifier' : 'nothrow' can only be applied to function declarations or definitions
1212
1313
The [nothrow](../../cpp/nothrow-cpp.md) extended attribute can be applied to function declarations or definitions only.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 9a25237d-5bbb-4112-98f3-29cd99d3f89f
88
---
99
# Compiler Error C2496
1010

11-
'identifier' : 'selectany' can only be applied to data items with external linkage
11+
> 'identifier' : 'selectany' can only be applied to data items with external linkage
1212
1313
The [selectany](../../cpp/selectany.md) attribute can be applied only to externally visible and global data items.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0839f12c-aaa4-4a02-bb33-7f072715dd14
88
---
99
# Compiler Error C2498
1010

11-
'function' : 'novtable' can only be applied to class declarations or definitions
11+
> 'function' : 'novtable' can only be applied to class declarations or definitions
1212
1313
This error can be caused by using `__declspec(novtable)` with a function.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: b323ff4d-b3c1-4bfd-b052-ae7292d53222
88
---
99
# Compiler Error C2499
1010

11-
'class' : a class cannot be its own base class
11+
> 'class' : a class cannot be its own base class
1212
1313
You attempted to specify the class that you are defining as a base class.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2500.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6bff8161-dc9a-48ca-91f1-fd2eefdbbc93
88
---
99
# Compiler Error C2500
1010

11-
'identifier1' : 'identifier2' is already a direct base class
11+
> 'identifier1' : 'identifier2' is already a direct base class
1212
1313
A class or structure appears more than once in a list of base classes.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2502.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: affa0b86-15fc-4e17-b7f2-6aad4a3771c4
88
---
99
# Compiler Error C2502
1010

11-
'identifier' : too many access modifiers on the base class
11+
> 'identifier' : too many access modifiers on the base class
1212
1313
The base class has more than one access modifier. Only one access modifier (**`public`**, **`private`**, or **`protected`**) is allowed.
1414

docs/error-messages/compiler-errors-2/compiler-error-c2503.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: da86cc89-fd04-400b-aa8d-a5ffaf7e3918
88
---
99
# Compiler Error C2503
1010

11-
'class' : base classes cannot contain zero-sized arrays
11+
> 'class' : base classes cannot contain zero-sized arrays
1212
1313
A base class or structure contains a zero-sized array. An array in a class must have at least one element.
1414

0 commit comments

Comments
 (0)