Skip to content

Commit 5e13c40

Browse files
committed
Learn Editor: Update compiler-errors-c7500-through-c7999.md
1 parent 82a2788 commit 5e13c40

File tree

1 file changed

+63
-1
lines changed

1 file changed

+63
-1
lines changed

docs/error-messages/compiler-errors-2/compiler-errors-c7500-through-c7999.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,75 @@ The articles in this section of the documentation explain a subset of the error
178178
| Compiler error C7660 | '%s': requires '%s' command line option(s) |
179179
| Compiler error C7661 | header-name '%s' has an ambiguous resolution to header '%s' |
180180
| Compiler error C7662 | '%$S': a coroutine cannot be constexpr or consteval |
181-
| [Compiler error C7688](compiler-error-c7688.md) | '`#pragma omp atomic`': expected an expression of scalar type |
181+
| Compiler error C7665 | '*operator*': you cannot assign to '`this`' as it is not an lvalue |
182+
| Compiler error C7666 | you cannot apply '*operator*' to '`this`' as it is not an lvalue |
183+
| Compiler error C7667 | no global `operator delete` function found |
184+
| Compiler error C7668 | a function with an explicit object parameter must be a member function |
185+
| Compiler error C7669 | a function with an explicit object parameter cannot be declared '`static`' |
186+
| Compiler error C7670 | only the first parameter may be an explicit object parameter |
187+
| Compiler error C7671 | a member function with an explicit object parameter may only have one such parameter |
188+
| Compiler error C7672 | a member function with an explicit object parameter may not have trailing implicit object parameter specifiers |
189+
| Compiler error C7673 | explicit object member functions requires at least '*C++ language version*' |
190+
| Compiler error C7674 | member function '*function 1*' with explicit object parameter of type '*type 1*' cannot overload member function '*function 2*' with implicit object parameter of type '*type 2*' |
191+
| Compiler error C7675 | cannot overload static member function with member function declaring the same non-object parameter types |
192+
| Compiler error C7676 | member functions with an explicit object parameter cannot be defaulted |
193+
| Compiler error C7677 | constructors cannot contain an explicit object parameter |
194+
| Compiler error C7678 | member functions with an explicit object parameter cannot be virtual |
195+
| Compiler error C7679 | an explicit object parameter cannot be a parameter pack |
196+
| Compiler error C7680 | only function parameters may be explicit object parameters |
197+
| Compiler error C7682 | '*declaration*': a non-defining declaration of an enumeration with a fixed underlying type is only permitted as a standalone declaration |
198+
| Compiler error C7683 | you cannot create a reference to '`void`' |
199+
| Compiler error C7684 | module name '*name*' has an ambiguous resolution to IFC |
200+
| Compiler error C7685 | there is no type named '*identifier*' in '*type*' |
182201
| Compiler error C7686 | attribute `[[msvc::constexpr]]` cannot be applied to a '`constexpr`' or '`consteval`' function |
202+
| Compiler error C7687 | attribute `[[`*attribute*`]]` may only be applied to statements and functions |
203+
| [Compiler error C7688](compiler-error-c7688.md) | '`#pragma omp atomic`': expected an expression of scalar type |
204+
| Compiler error C7689 | attribute `[[msvc::intrinsic]]` cannot be applied to explicit specializations |
205+
| Compiler error C7690 | attribute `[[msvc::intrinsic]]` cannot be applied to a recursive function |
206+
| Compiler error C7691 | '`__super`' is not supported as '`/allowSuper-`' was specified |
207+
| Compiler error C7692 | '*name*': rewritten candidate function was excluded from overload resolution because a corresponding `operator!=` declared in the same scope |
208+
| Compiler error C7693 | constraints are not supported for managed types and constructs |
209+
| Compiler error C7694 | managed type '*type*' used in a constraint definition or evaluation or in an entity that uses constraints |
210+
| Compiler error C7695 | coroutine promise type '*type*' cannot be abstract |
211+
| Compiler error C7696 | TOML parse error: *error name*; see '*TOML filename*' |
212+
| Compiler error C7697 | '*header unit*' is not a recognized header-name lookup |
213+
| Compiler error C7698 | '`__declspec(`*name*`(...))`' requires a single string argument |
214+
| Compiler error C7699 | file mapping must be unique. Both '*name 1*' and '*name 2*' map to '*filename*' |
183215
| Compiler error C7700 | type '%$T' in _Generic association compatible with previous association type '%$T' |
184216
| Compiler error C7701 | default _Generic association previously specified |
185217
| Compiler error C7702 | no compatible type for '%$T' in _Generic association list |
186218
| Compiler error C7703 | inline nested namespaces requires at least '%1$M' |
187219
| Compiler error C7704 | '_Alignas' specifier can be used on variables and structure fields only |
220+
| Compiler error C7705 | '`_Atomic`' type '*typename*' cannot be an array or function |
221+
| Compiler error C7706 | '`_Atomic`' type '*typename*' cannot be atomic or CVR qualified |
222+
| Compiler error C7707 | call to '*function*': argument type '*type*' must be a pointer to an atomic type |
223+
| Compiler error C7708 | '*variable*': '`thread_local`' is only valid on variables at file or block scope |
224+
| Compiler error C7709 | '*variable*': '`thread_local`' variables at block scope must be marked `static` |
225+
| Compiler error C7710 | '*variable*': bit-fields cannot be atomic |
226+
| Compiler error C7711 | '`_Atomic`' cannot be applied to incomplete type '*type*' |
227+
| Compiler error C7712 | address argument to atomic operation must be a pointer to an atomic integer, '*type*' is not valid |
228+
| Compiler error C7713 | a statement-expression may only appear inside a function body |
229+
| Compiler error C7714 | the syntax for a 'statement-expression' is '`__extension__ ({ S1; ... ; Sn; })`' |
230+
| Compiler error C7720 | bound for nested loop to be collapsed does not conform to the OpenMP specification |
231+
| Compiler error C7730 | '`#`*directive*' directive requires '*language version*' or later |
232+
| Compiler error C7731 | '*name*' is not allowed on a constructor declaration |
233+
| Compiler error C7732 | expected an expression before '`]`' |
234+
| Compiler error C7733 | the built-in subscript operator expects a single expression |
235+
| Compiler error C7734 | '`size_t`' literal is out of range of possible '`size_t`' values |
236+
| Compiler error C7735 | a lambda cannot be both '`static`' and '`mutable`' |
237+
| Compiler error C7736 | a static lambda must have an empty capture-clause |
238+
| Compiler error C7737 | a lambda with an explicit object parameter shall be neither '`mutable`' nor '`static`' |
239+
| Compiler error C7738 | '`if consteval`' requires a compound statement |
240+
| Compiler error C7739 | cannot jump from this `goto` statement to its label |
241+
| Compiler error C7740 | cannot jump to case label |
242+
| Compiler error C7741 | ABI inconsistency: '*function*' was originally assumed to use '`C`' return semantics but now it requires '`C++`' return semantics |
243+
| Compiler error C7800 | duplicate explicit instantiation definition of '*name*' |
244+
| Compiler error C7801 | '*function*': if one declaration of '*identifier*' has the '`[[msvc::disptach]]`' attribute then all functions must have the attribute |
245+
| Compiler error C7802 | '*identifier*': a capability must resolve to an enumerator |
246+
| Compiler error C7803 | '*identifier*': a capability must be associated with a non-overloaded, non-virtual function |
247+
| Compiler error C7804 | '*identifier*': cannot find a matching default dispatch function |
248+
| Compiler error C7806 | support for the '`msvc::dispatch`' attribute requires '`/experimental:loadTimeSelection`' |
249+
| Compiler error C7807 | expecting a narrow string literal |
188250

189251
## See also
190252

0 commit comments

Comments
 (0)