Skip to content

Commit 0ae844d

Browse files
authored
Add blockquotes for error messages in range [C2461, C2490]
1 parent 85ce25a commit 0ae844d

15 files changed

+15
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ace953d6-b414-49ee-bfef-90578a8da00c
88
---
99
# Compiler Error C2464
1010

11-
'identifier' : cannot use 'new' to allocate a reference
11+
> 'identifier' : cannot use 'new' to allocate a reference
1212
1313
A reference identifier was allocated with the **`new`** operator. References are not memory objects, so **`new`** cannot return a pointer to them. Use the standard variable declaration syntax to declare a reference.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 65ba2a9f-d95e-4af3-b60b-1ac59a1e307c
88
---
99
# Compiler Error C2465
1010

11-
cannot define an anonymous type inside parentheses
11+
> cannot define an anonymous type inside parentheses
1212
1313
An anonymous structure, union, or enumerated type is defined inside a parenthetical expression. This is invalid in C++ because the definition is meaningless in function scope.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: f9ead270-5d0b-41cc-bdcd-586a647c67a7
88
---
99
# Compiler Error C2467
1010

11-
illegal declaration of anonymous 'user-defined-type'
11+
> illegal declaration of anonymous 'user-defined-type'
1212
1313
A nested user-defined type was declared. This is an error when compiling C source code with the ANSI compatibility option ([/Za](../../build/reference/za-ze-disable-language-extensions.md)) enabled.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: a8928b44-20f6-4cbc-9aa5-7e86052a9c6b
88
---
99
# Compiler Error C2471
1010

11-
cannot update program database 'file'
11+
> cannot update program database 'file'
1212
1313
The compiler cannot write to the database file.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6bb7dbf5-b198-490f-860e-fd64d0c2a284
88
---
99
# Compiler Error C2473
1010

11-
'identifier' : looks like a function definition, but there is no parameter list.
11+
> 'identifier' : looks like a function definition, but there is no parameter list.
1212
1313
The compiler detected what looked like a function, without the parameter list.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 64e6c61e-6e77-480e-bcf0-b30a2fc482ac
88
---
99
# Compiler Error C2474
1010

11-
'keyword' : missing an adjacent semicolon, could be either keyword or identifier.
11+
> 'keyword' : missing an adjacent semicolon, could be either keyword or identifier.
1212
1313
The compiler expected to find a semicolon, and was unable to determine your intent. Add the semicolon to resolve this error.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 60bc324b-6605-4833-8099-a291efc712e7
88
---
99
# Compiler Error C2477
1010

11-
'member' : static data member cannot be initialized via derived class
11+
> 'member' : static data member cannot be initialized via derived class
1212
1313
A static data member of a template class was initialized incorrectly. This is a breaking change with versions of the Microsoft C++ compiler prior to Visual Studio .NET 2003, in order to conform to the ISO C++ standard.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c74c7869-e65b-4ca1-b6fa-eb39fed4458a
88
---
99
# Compiler Error C2479
1010

11-
'identifier' : 'allocate( )' is only valid for data items of static extent
11+
> 'identifier' : 'allocate( )' is only valid for data items of static extent
1212
1313
The `__declspec( allocate())` syntax can be used for static data only.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 1a58d1c2-971b-4084-96fa-f94aa51c02f1
88
---
99
# Compiler Error C2480
1010

11-
'identifier' : 'thread' is only valid for data items of static extent
11+
> 'identifier' : 'thread' is only valid for data items of static extent
1212
1313
You cannot use the `thread` attribute with an automatic variable, nonstatic data member, function parameter, or on function declarations or definitions.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: daae3fc1-76cf-4a6f-b2fa-86873fb0929d
88
---
99
# Compiler Error C2485
1010

11-
'identifier' : unrecognized extended attribute
11+
> 'identifier' : unrecognized extended attribute
1212
1313
The declaration attribute is not valid.

0 commit comments

Comments
 (0)