You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-errors-2/compiler-errors-c2500-through-c2599.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The articles in this section of the documentation explain a subset of the error
33
33
|Compiler error C2515|'*identifier*': 'vtguard' can only be applied to class declarations or definitions|
34
34
|[Compiler error C2516](compiler-error-C2516.md)|'*class*': is not a legal base class|
35
35
|[Compiler error C2517](compiler-error-C2517.md)|'*identifier*': right of '::' is undefined|
36
-
|[Compiler error C2518](compiler-error-C2518.md)|keyword '*keyword*' illegal in base class list; ignored|
36
+
|[Compiler error C2518](compiler-error-C2518.md)|keyword '*keyword*' is invalid in a base class list; expected a `class` name|
37
37
|Compiler error C2519|'*identifier*': WinRT attributes may only contain public fields|
38
38
|Compiler error C2520|'*class*': no non-explicit constructor available for implicit conversion|
39
39
|[Compiler error C2521](compiler-error-C2521.md)|a destructor/finalizer does not take any arguments|
@@ -63,12 +63,13 @@ The articles in this section of the documentation explain a subset of the error
63
63
|[Compiler error C2545](compiler-error-C2545.md)|'*operator*': unable to find overloaded operator|
64
64
|Compiler error C2546|'*identifier*': when a type is defined in both a PIA and a no-PIA the PIA must be referenced first|
65
65
|Compiler error C2547|'*identifier*': All parameters of a published method must be explicitly named on the declaration|
66
-
|[Compiler error C2548](compiler-error-C2548.md)|'*function*': missing default parameter for parameter *parameter*|
66
+
|[Compiler error C2548](compiler-error-C2548.md)|'*function*': missing default argument for parameter *parameter*|
67
67
|[Compiler error C2549](compiler-error-C2549.md)|user-defined conversion cannot specify a return type|
68
68
|[Compiler error C2550](compiler-error-C2550.md)|'*identifier*': constructor initializer lists are only allowed on constructor definitions|
69
69
|[Compiler error C2551](compiler-error-C2551.md)|'void *' type needs explicit cast|
70
70
|[Compiler error C2552](compiler-error-C2552.md)|'*identifier*': non-aggregates cannot be initialized with an initializer list|
71
71
|[Compiler error C2553](compiler-error-C2553.md)|'*type**derived_class*::*function*': overriding virtual function return type differs from '*type**base_class*::*function*'|
72
+
|Compiler error C2554|'*variable*': 'constinit' only allowed on a variable declaration with static or thread storage duration|
72
73
|[Compiler error C2555](compiler-error-C2555.md)|'*derived_class*::*function*': overriding virtual function return type differs and is not covariant from '*base_class*::*function*'|
73
74
|[Compiler error C2556](compiler-error-C2556.md)|'*type1**class*::*function*': overloaded function differs only by return type from '*type2**class*::*function*'|
74
75
|[Compiler error C2557](compiler-error-C2557.md)|'*identifier*': private and protected members cannot be initialized without a constructor|
0 commit comments