Skip to content

Commit f8c5d42

Browse files
authored
Merge pull request #5557 from Rastaban/docs-editor/compiler-errors-c3300-through-1713805997
Update compiler-errors-c3300-through-c3399.md
2 parents c8bc604 + d60e427 commit f8c5d42

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

docs/error-messages/compiler-errors-2/compiler-errors-c3300-through-c3399.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
description: "Learn more about: Compiler errors C3300 Through C3399"
3-
title: "Compiler errors C3300 Through C3399"
3+
title: "Compiler errors C3300 through C3399"
44
ms.date: 06/01/2022
55
f1_keywords: ["C3300", "C3301", "C3302", "C3304", "C3305", "C3306", "C3307", "C3308", "C3310", "C3311", "C3312", "C3313", "C3314", "C3315", "C3316", "C3317", "C3318", "C3319", "C3321", "C3323", "C3324", "C3325", "C3326", "C3327", "C3328", "C3329", "C3330", "C3331", "C3332", "C3335", "C3336", "C3337", "C3338", "C3339", "C3341", "C3343", "C3344", "C3346", "C3348", "C3349", "C3355", "C3357", "C3359", "C3361", "C3362", "C3376", "C3377", "C3378"]
66
helpviewer_keywords: ["C3300", "C3301", "C3302", "C3304", "C3305", "C3306", "C3307", "C3308", "C3310", "C3311", "C3312", "C3313", "C3314", "C3315", "C3316", "C3317", "C3318", "C3319", "C3321", "C3323", "C3324", "C3325", "C3326", "C3327", "C3328", "C3329", "C3330", "C3331", "C3332", "C3335", "C3336", "C3337", "C3338", "C3339", "C3341", "C3343", "C3344", "C3346", "C3348", "C3349", "C3355", "C3357", "C3359", "C3361", "C3362", "C3376", "C3377", "C3378"]
7-
ms.assetid: 190b7d29-ffe6-4261-921d-140da1935d00
87
---
98
# Compiler errors C3300 Through C3399
109

@@ -17,24 +16,24 @@ The articles in this section of the documentation explain a subset of the error
1716
| Error | Message |
1817
|--|--|
1918
| Compiler error C3300 | '*symbol*': improper format for IDL '*value*' |
20-
| Compiler error C3301 | '*coclass*': coclass cannot be a '*symbol*' interface |
19+
| Compiler error C3301 | '*coclass*': `coclass` cannot be a '*symbol*' interface |
2120
| Compiler error C3302 | '*identifier*': identifier has more than *number* characters |
2221
| [Compiler error C3303](compiler-error-c3303.md) | '*attribute*': attribute can only be used on '*type*' |
2322
| Compiler error C3304 | Obsolete. |
2423
| Compiler error C3305 | Obsolete. |
2524
| Compiler error C3306 | '*template*': unnamed class template/generic is not allowed |
2625
| Compiler error C3307 | '*module*': unable to create IDL module |
27-
| Compiler error C3308 | ' *function*': direct call through imported class is not supported |
26+
| Compiler error C3308 | '*function*': direct call through imported class is not supported |
2827
| [Compiler error C3309](compiler-error-c3309.md) | '*macro*/*keyword*': module name cannot be a macro or a keyword |
2928
| Compiler error C3310 | '*identifier*': module name conflict |
3029
| Compiler error C3311 | module attribute must be defined at global scope |
3130
| Compiler error C3312 | no callable '*identifier*' function found for type '*type*' |
3231
| Compiler error C3313 | '*identifier*': variable cannot have the type '*type*' |
3332
| Compiler error C3314 | '*symbol*': not a supported IDL module type |
34-
| Compiler error C3315 | ' *function*': must be a member function |
33+
| Compiler error C3315 | '*function*': must be a member function |
3534
| Compiler error C3316 | '*type*': an array of unknown size cannot be used in a range-based for statement |
3635
| Compiler error C3317 | '*identifier*': an overload function cannot be used as the expression in a range-based for statement |
37-
| Compiler error C3318 | '*type*': an array cannot have an element type that contains 'auto' |
36+
| Compiler error C3318<sup>1</sup> | '*type*': an array cannot have an element type that contains '`auto`'|
3837
| Compiler error C3319 | Obsolete. |
3938
| [Compiler error C3320](compiler-error-c3320.md) | '*type*': type cannot have the same name as the module 'name' property |
4039
| Compiler error C3321 | an initializer list is unexpected in this context |
@@ -55,7 +54,7 @@ The articles in this section of the documentation explain a subset of the error
5554
| Compiler error C3336 | This operation must be performed at class scope |
5655
| Compiler error C3337 | '*identifier*': defaultvtable must be an event source for a coclass '*class*' |
5756
| Compiler error C3338 | '*identifier*': There can be at most one default interface that is also an event source for a coclass '*class*' |
58-
| Compiler error C3339 | template template parameter requires either 'class' or 'typename' after the parameter list |
57+
| Compiler error C3339 | template parameter requires either 'class' or 'typename' after the parameter list |
5958
| [Compiler error C3340](compiler-error-c3340.md) | '*identifier*': interface cannot be both 'restricted' and 'default' in coclass '*class*' |
6059
| Compiler error C3341 | '*interface*': a defaultvtable interface must be either 'dual' or 'custom' |
6160
| [Compiler error C3342](compiler-error-c3342.md) | '*identifier*': ambiguous attribute |
@@ -66,8 +65,8 @@ The articles in this section of the documentation explain a subset of the error
6665
| [Compiler error C3347](compiler-error-c3347.md) | '*argument*': required argument is not specified in attribute *attribute-name* |
6766
| Compiler error C3348 | exported templates are not part of the current C++ standards |
6867
| Compiler error C3349 | '*class*::*member*': multicast attribute has already been implemented by provider *provider-name* |
69-
| [Compiler error C3350](compiler-error-c3350.md) | ' *function*': a delegate constructor expects *number* argument(s) |
70-
| [Compiler error C3351](compiler-error-c3351.md) | ' *function*': if you pass a NULL object instance to a delegate constructor you must also pass the address of a static member function |
68+
| [Compiler error C3350](compiler-error-c3350.md) | '*function*': a delegate constructor expects *number* argument(s) |
69+
| [Compiler error C3351](compiler-error-c3351.md) | '*function*': if you pass a NULL object instance to a delegate constructor you must also pass the address of a static member function |
7170
| [Compiler error C3352](compiler-error-c3352.md) | '*function*': the specified function does not match the delegate type '*type*' |
7271
| [Compiler error C3353](compiler-error-c3353.md) | '*identifier*': a delegate can only be created from a global function or a member function of a managed/WinRT type |
7372
| [Compiler error C3354](compiler-error-c3354.md) | '*identifier*': the function used to create a delegate cannot have return type '*type*' |
@@ -117,6 +116,8 @@ The articles in this section of the documentation explain a subset of the error
117116
| [Compiler error C3398](compiler-error-c3398.md) | '*operator*': cannot convert from '*type*' to '*type*'. Source expression must be a function symbol |
118117
| [Compiler error C3399](compiler-error-c3399.md) | '*type*': cannot provide arguments when creating an instance of a generic parameter |
119118

119+
1-No longer emitted in Visual Studio 2022 version 17.11
120+
120121
## See also
121122

122123
[C/C++ Compiler and build tools errors and warnings](../compiler-errors-1/c-cpp-build-errors.md) \

0 commit comments

Comments
 (0)