Skip to content

Commit 4f6b007

Browse files
committed
Learn Editor: Update compiler-errors-c2900-through-c3499.md
1 parent a88efe2 commit 4f6b007

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/error-messages/compiler-errors-2/compiler-errors-c2900-through-c3499.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ The articles in this section of the documentation explain a subset of the error
9898
| Compiler error C2980 | C++ exception handling is not supported with /kernel |
9999
| Compiler error C2981 | the dynamic form of '*keyword*' is not supported with /kernel |
100100
| Compiler error C2982 | '*declaration*': different __declspec(code_seg(...)) used: was '*identifier1*' now '*identifier2*' |
101-
| Compiler error C2983 | '*declaration*': all declarations must have an identical __declspec(code_seg(...)) |
101+
| Compiler error C2983 | '*name*': a definition must have the same `__declspec(code_seg(...))` as the prior declaration |
102102
| Compiler error C2984 | Obsolete. |
103103
| Compiler error C2985 | '*argument*': the argument to __declspec(code_seg(...)) must be a text section |
104-
| Compiler error C2986 | '*identifier*': __declspec(code_seg(...)) can only be applied to a class or a function |
104+
| Compiler error C2986 | '`__declspec(code_seg(...))`' can only be applied to a class or a function |
105105
| Compiler error C2987 | a declaration cannot have both __declspec(code_seg('*identifier*')) and __declspec(code_seg('*value*')) |
106106
| [Compiler error C2988](compiler-error-c2988.md) | unrecognizable template declaration/definition |
107107
| [Compiler error C2989](compiler-error-c2989.md) | '*class*': class template/generic has already been declared as a non-class template/generic |

0 commit comments

Comments
 (0)