Skip to content

Commit 6ec0265

Browse files
committed
Learn Editor: Update compiler-errors-c2500-through-c2599.md
1 parent e8396cb commit 6ec0265

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/error-messages/compiler-errors-2/compiler-errors-c2500-through-c2599.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The articles in this section of the documentation explain a subset of the error
3333
|Compiler error C2515|'*identifier*': 'vtguard' can only be applied to class declarations or definitions|
3434
|[Compiler error C2516](compiler-error-C2516.md)|'*class*': is not a legal base class|
3535
|[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|
3737
|Compiler error C2519|'*identifier*': WinRT attributes may only contain public fields|
3838
|Compiler error C2520|'*class*': no non-explicit constructor available for implicit conversion|
3939
|[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
6363
|[Compiler error C2545](compiler-error-C2545.md)|'*operator*': unable to find overloaded operator|
6464
|Compiler error C2546|'*identifier*': when a type is defined in both a PIA and a no-PIA the PIA must be referenced first|
6565
|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*|
6767
|[Compiler error C2549](compiler-error-C2549.md)|user-defined conversion cannot specify a return type|
6868
|[Compiler error C2550](compiler-error-C2550.md)|'*identifier*': constructor initializer lists are only allowed on constructor definitions|
6969
|[Compiler error C2551](compiler-error-C2551.md)|'void *' type needs explicit cast|
7070
|[Compiler error C2552](compiler-error-C2552.md)|'*identifier*': non-aggregates cannot be initialized with an initializer list|
7171
|[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|
7273
|[Compiler error C2555](compiler-error-C2555.md)|'*derived_class*::*function*': overriding virtual function return type differs and is not covariant from '*base_class*::*function*'|
7374
|[Compiler error C2556](compiler-error-C2556.md)|'*type1* *class*::*function*': overloaded function differs only by return type from '*type2* *class*::*function*'|
7475
|[Compiler error C2557](compiler-error-C2557.md)|'*identifier*': private and protected members cannot be initialized without a constructor|

0 commit comments

Comments
 (0)