Skip to content

Commit 690631b

Browse files
authored
Add blockquotes for error messages in range [C2551, C2580]
1 parent 9693603 commit 690631b

19 files changed

+19
-19
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 6f48b91d-635b-4eef-b13c-1bf2056c1053
88
---
99
# Compiler Error C2551
1010

11-
'void *' type needs explicit cast
11+
> 'void *' type needs explicit cast
1212
1313
A **`void`** pointer is assigned to a nonvoid pointer by implicit conversion. You must use an explicit cast.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0e0ab759-788a-4faf-9337-80d4b9e2e8c9
88
---
99
# Compiler Error C2552
1010

11-
'identifier' : non-aggregates cannot be initialized with initializer list
11+
> 'identifier' : non-aggregates cannot be initialized with initializer list
1212
1313
The aggregate identifier was incorrectly initialized.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 64bc1e9a-627f-4ce9-b7bc-dc911bdb9180
88
---
99
# Compiler Error C2553
1010

11-
'base_function': overriding virtual function return type differs from 'override_function'
11+
> 'base_function': overriding virtual function return type differs from 'override_function'
1212
1313
A function in a derived class attempted to override a virtual function in a base class, but the derived class function did not have the same return type as the base class function. An override function signature must match the signature of the function being overridden.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 48a33d82-aa16-4658-b346-2311fcb39864
88
---
99
# Compiler Error C2557
1010

11-
'identifier' : private and protected members cannot be initialized without a constructor
11+
> 'identifier' : private and protected members cannot be initialized without a constructor
1212
1313
Only members and friends can assign a value to a private or protected member. Nonpublic members should be initialized in the class constructor.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 822b701e-dcae-423a-b21f-47f36aff9c90
88
---
99
# Compiler Error C2558
1010

11-
'identifier' : no copy constructor available or copy constructor is declared 'explicit'
11+
> 'identifier' : no copy constructor available or copy constructor is declared 'explicit'
1212
1313
A copy constructor initializes an object from another object of the same type. (It makes a copy of the object.) The compiler generates a default copy constructor if you do not define any constructors.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 0abe955b-53a6-4a3c-8362-b1a8eb40e8d1
88
---
99
# Compiler Error C2561
1010

11-
'identifier' : function must return a value
11+
> 'identifier' : function must return a value
1212
1313
The function was declared as returning a value, but the function definition does not contain a **`return`** statement.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 2c41e511-9952-4b98-9976-6b1523613e1b
88
---
99
# Compiler Error C2562
1010

11-
'identifier' : 'void' function returning a value
11+
> 'identifier' : 'void' function returning a value
1212
1313
The function is declared as **`void`** but returns a value.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 54abba68-6458-4ca5-894d-3babdb7b3552
88
---
99
# Compiler Error C2563
1010

11-
mismatch in formal parameter list
11+
> mismatch in formal parameter list
1212
1313
The formal parameter list of a function (or a pointer to a function) does not match those of another function (or pointer to a member function). As a result, the assignment of functions or pointers cannot be made.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: 8fe10fb2-d974-432a-a56b-3a61b9a8dfc2
88
---
99
# Compiler Error C2566
1010

11-
overloaded function in conditional expression
11+
> overloaded function in conditional expression
1212
1313
An overloaded function in a conditional expression cannot be evaluated.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 9c140ac9-7059-47e6-9ba1-e7939c8c0dc3
88
---
99
# Compiler Error C2567
1010

11-
unable to open metadata in 'file', file may have been deleted or moved
11+
> unable to open metadata in 'file', file may have been deleted or moved
1212
1313
A metadata file that was referenced in source (with `#using`) was not found in the same directory by the compiler back end process as it was by the compiler front end process. See [#using Directive](../../preprocessor/hash-using-directive-cpp.md) for more information.
1414

0 commit comments

Comments
 (0)