Skip to content

Commit 8370a68

Browse files
authored
Add blockquotes for error messages in range [C2381, C2400]
1 parent 45fdb38 commit 8370a68

15 files changed

+15
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: cc765f67-64ac-406f-93ef-ae7d548d58d7
88
---
99
# Compiler Error C2381
1010

11-
'function' : redefinition; __declspec(noreturn) differs
11+
> 'function' : redefinition; __declspec(noreturn) differs
1212
1313
A function was declared and then defined but the definition used the [noreturn](../../cpp/noreturn.md) **`__declspec`** modifier. The use of `noreturn` constitutes a redefinition of the function; the declaration and definition need to agree on the use of `noreturn`.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6696221d-879c-477a-a0f3-a6edc15fd3d7
88
---
99
# Compiler Error C2383
1010

11-
'*symbol*' : default-arguments are not allowed on this symbol
11+
> '*symbol*' : default-arguments are not allowed on this symbol
1212
1313
The C++ compiler does not allow default arguments on pointers to functions.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 8145f7ad-31b1-406d-ac43-0d557feab635
88
---
99
# Compiler Error C2384
1010

11-
'member' : cannot apply __declspec(thread) to a member of a managed or WinRT class
11+
> 'member' : cannot apply __declspec(thread) to a member of a managed or WinRT class
1212
1313
The [thread](../../cpp/thread.md) **`__declspec`** modifier cannot be used on a member of a managed or Windows Runtime class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: aaaa1284-34a0-4da2-8547-9fcbb559dae0
88
---
99
# Compiler Error C2386
1010

11-
'symbol' : a symbol with this name already exists in the current scope
11+
> 'symbol' : a symbol with this name already exists in the current scope
1212
1313
You tried to create a namespace alias, but the name you chose already exists.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6847b8e1-ffac-458d-ab88-0c92f72f2527
88
---
99
# Compiler Error C2387
1010

11-
'type' : ambiguous base class
11+
> 'type' : ambiguous base class
1212
1313
The compiler could not unambiguously resolve a function call because the function exists in more than one base class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 764ad2d7-cb04-425f-ba30-70989488c4a4
88
---
99
# Compiler Error C2388
1010

11-
'symbol' : a symbol cannot be declared with both __declspec(appdomain) and \__declspec(process)
11+
> 'symbol' : a symbol cannot be declared with both __declspec(appdomain) and \__declspec(process)
1212
1313
The `appdomain` and `process` **`__declspec`** modifiers cannot be used on the same symbol. The storage for a variable exists per process or per application domain.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 6122dc81-4ee3-49a5-a67d-d867808c9bac
88
---
99
# Compiler Error C2389
1010

11-
'operator' : illegal operand 'nullptr'
11+
> 'operator' : illegal operand 'nullptr'
1212
1313
**`nullptr`** cannot be an operand.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 06b749ee-d072-4db1-b229-715f2c0728b5
88
---
99
# Compiler Error C2390
1010

11-
'identifier' : incorrect storage class 'specifier'
11+
> 'identifier' : incorrect storage class 'specifier'
1212
1313
The storage class is not valid for the global-scope identifier. The default storage class is used in place of the invalid class.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 63a9c6b9-03cc-4517-885c-bdcd048643b3
88
---
99
# Compiler Error C2391
1010

11-
'identifier' : 'friend' cannot be used during type definition
11+
> 'identifier' : 'friend' cannot be used during type definition
1212
1313
The **`friend`** declaration includes a complete class declaration. A **`friend`** declaration can specify a member function or an elaborated type specifier, but not a complete class declaration.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 98ced473-6383-46ed-b79c-21857d65dcb2
88
---
99
# Compiler Error C2392
1010

11-
'method1' : covariant returns types are not supported in managed or WinRTtypes, otherwise 'method2' would be overridden
11+
> 'method1' : covariant returns types are not supported in managed or WinRTtypes, otherwise 'method2' would be overridden
1212
1313
Covariant return types are not allowed for Windows Runtime member functions or when compiling with the [/clr (Common Language Runtime Compilation)](../../build/reference/clr-common-language-runtime-compilation.md) option.
1414

0 commit comments

Comments
 (0)