Skip to content

Commit d3c98f8

Browse files
authored
Add blockquotes for error messages in range [C3711, C3740]
1 parent 3d6db73 commit d3c98f8

21 files changed

+21
-21
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 26d581cc-2153-4ee0-b814-a371184be3e1
88
---
99
# Compiler Error C3711
1010

11-
'method': an non-managed event source method must return void or an integral type
11+
> 'method': an non-managed event source method must return void or an integral type
1212
1313
You defined a method in the event source that did not return void or an integral type. To fix this error, make the event and event handler have a return type of **`void`** or an integral type such as **`int`** or **`long`**.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 65b1fcaf-be89-4c55-9e40-25ec03457253
88
---
99
# Compiler Error C3712
1010

11-
'method': an event handler method must return the same type as the source 'method'
11+
> 'method': an event handler method must return the same type as the source 'method'
1212
1313
You defined an event handler method that did not return the same type as the source event method. To fix this error, give the event handler method the same return type as that of the source event method.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 75c6b9b6-955b-49bd-9bc8-ced88b496a1f
88
---
99
# Compiler Error C3713
1010

11-
'method': an event handler method must have the same function parameters as the source 'method'
11+
> 'method': an event handler method must have the same function parameters as the source 'method'
1212
1313
You defined an event handler method that did not use the same parameters as the source event method. To fix this error, give the event handler method the same parameters as those of the source event method.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 17718f75-5a37-4e42-912b-487e91008a95
88
---
99
# Compiler Error C3714
1010

11-
'method': an event handler method must have the same calling convention as the source 'method'
11+
> 'method': an event handler method must have the same calling convention as the source 'method'
1212
1313
You defined an event handler method that did not use the same calling convention as the source event method. To fix this error, give the event handler method the same calling conventions as those of the source event method. For example, in the code below, make the calling conventions of `handler1` and `event1` match ([__cdecl](../../cpp/cdecl.md) or [__stdcall](../../cpp/stdcall.md) or others). Removing calling convention keywords from both declarations will also solve the problem, and cause `event1` and `handler1` to default to the [thiscall](../../cpp/thiscall.md) calling convention. See [Calling Conventions](../../cpp/calling-conventions.md) for more information.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ ms.assetid: ee5dce88-ddc4-4bdb-9464-47467ce1674f
88
---
99
# Compiler Error C3715
1010

11-
'pointer': must be a pointer to 'class'
11+
> 'pointer': must be a pointer to 'class'
1212
1313
You specified a pointer in [`__hook`](../../cpp/hook.md) or [`__unhook`](../../cpp/unhook.md) that did not point to a valid class. To fix this error, ensure that your **`__hook`** and **`__unhook`** calls specify pointers to valid classes.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: ae4fceb1-2583-4577-b2f1-40971a017055
88
---
99
# Compiler Error C3717
1010

11-
'method': a method that fires events cannot be defined
11+
> 'method': a method that fires events cannot be defined
1212
1313
You declared an event method that includes an implementation. An [__event](../../cpp/event.md) method declaration cannot have a definition. To fix this error, ensure that no event method declarations have definitions. For example, in the code below, remove the function body from the `event1` declaration as indicated by the comments.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: d0d59d4e-babb-4480-9ef7-70cf1a28165c
88
---
99
# Compiler Error C3719
1010

11-
'interface': an interface based event source can only be used for COM events
11+
> 'interface': an interface based event source can only be used for COM events
1212
1313
You declared an interface in a non-COM context.
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: c696ca38-3e00-4875-abbe-7bce0f46930e
88
---
99
# Compiler Error C3721
1010

11-
'signature': incompatible signature for event
11+
> 'signature': incompatible signature for event
1212
1313
An event was declared incorrectly. For more information, see [__event](../../cpp/event.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: 3cb28363-5eff-4548-bd0d-d5c615846353
88
---
99
# Compiler Error C3722
1010

11-
a generic event is not allowed
11+
> a generic event is not allowed
1212
1313
The compiler only allows generic classes, structs, and functions. For more information, see [Generics](../../extensions/generics-cpp-component-extensions.md).
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.assetid: cab8aba7-14fc-406f-8cc6-32744c8f31c1
88
---
99
# Compiler Error C3724
1010

11-
must #include \<windows.h> to use multi-threading with events
11+
> must #include \<windows.h> to use multi-threading with events
1212
1313
The windows.h file is required if you use multi-threading with events. To fix this error, add `#include <windows.h>` to the top of the file in which event sources and event receivers are defined.
1414

0 commit comments

Comments
 (0)