Skip to content

Commit 5ed7e8f

Browse files
Merge pull request #5607 from xiangfan-ms/docs-editor/compiler-error-c2217-1719347072
Update compiler-error-c2217.md
2 parents c0faabe + 0e49f43 commit 5ed7e8f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,9 @@ ms.assetid: 1ce1e3f5-4171-4376-804d-967f7e612935
1212

1313
The first function attribute requires the second attribute.
1414

15-
### To fix by checking the following possible causes
16-
17-
1. Interrupt (`__interrupt`) function declared as `near`. Interrupt functions must be `far`.
18-
19-
1. Interrupt function declared with **`__stdcall`**, or **`__fastcall`**. Interrupt functions must use C calling conventions.
20-
2115
## Example
2216

23-
C2217 can also occur if you attempt to bind a delegate to a CLR function that takes a variable number of arguments. If the function also has e param array overload, use that instead. The following sample generates C2217.
17+
C2217 can occur if you attempt to bind a delegate to a CLR function that takes a variable number of arguments. If the function also has a param array overload, use that instead. The following sample generates C2217.
2418

2519
```cpp
2620
// C2217.cpp

0 commit comments

Comments
 (0)