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
This warning indicates that the Code Analyzer has encountered Open MP pragmas that it can't analyze.
11
+
This warning indicates that the static analysis tools don't support Open MP pragmas. The static analysis tools could generate incorrect results because they assume the code is single-threaded, not multi-threaded.
12
+
13
+
Your code doesn't necessarily need to be 'fixed' to resolve this diagnostic because this warning indicates what the toolset supports and not an issue with your code.
|[Compiler error C2013](compiler-error-c2013.md)|expected a '*token*' |
31
31
|[Compiler error C2014](compiler-error-c2014.md)| preprocessor command must start as first nonwhite space |
32
32
|[Compiler error C2015](compiler-error-c2015.md)| too many characters in constant |
33
33
|[Compiler error C2016](compiler-error-c2016.md)| C requires that a struct or union has at least one member |
@@ -89,7 +89,7 @@ The articles in this section of the documentation explain a subset of the error
89
89
|[Compiler error C2072](compiler-error-c2072.md)| '*identifier*': initialization of a function |
90
90
|[Compiler error C2073](compiler-error-c2073.md)|**(Obsolete)** '*identifier*': elements of partially initialized array must have a default constructor |
91
91
|[Compiler error C2074](compiler-error-c2074.md)| '*identifier*': '*type*' initialization requires a brace-enclosed initializer list |
92
-
|[Compiler error C2075](compiler-error-c2075.md)| '*identifier*': array initialization requires a brace-enclosed initializer list |
92
+
|[Compiler error C2075](compiler-error-c2075.md)| '*identifier*': initialization requires a brace-enclosed initializer list |
93
93
|[Compiler error C2076](compiler-error-c2076.md)| a brace-enclosed initializer list cannot be used in a new-expression whose type contains '*type*' |
94
94
|[Compiler error C2077](compiler-error-c2077.md)| non-scalar field initializer '*identifier*' |
95
95
|[Compiler error C2078](compiler-error-c2078.md)| too many initializers |
@@ -102,11 +102,11 @@ The articles in this section of the documentation explain a subset of the error
102
102
|[Compiler error C2085](compiler-error-c2085.md)| '*identifier*': not in formal parameter list |
|[Compiler error C2261](compiler-error-c2261.md)|'*string*': assembly reference is invalid and cannot be resolved|
80
80
|[Compiler error C2262](compiler-error-c2262.md)|'*specifier*': InternalsVisibleTo declarations cannot have a version, culture, or processor architecture specified|
81
-
|Compiler error C2263|Obsolete.|
81
+
|Compiler error C2263|'*module name*': a translation unit cannot be imported into itself|
82
82
|[Compiler error C2264](compiler-error-c2264.md)|'*function*': error in function definition or declaration; function not called|
83
83
|Compiler error C2265|Obsolete.|
84
84
|[Compiler error C2266](compiler-error-c2266.md)|'*identifier*': reference to a non-constant bounded array is illegal|
@@ -90,10 +90,10 @@ The articles in this section of the documentation explain a subset of the error
90
90
|[Compiler error C2272](compiler-error-c2272.md)|'*function*': modifiers not allowed on static member functions|
91
91
|[Compiler error C2273](compiler-error-c2273.md)|'*type*': illegal as right side of '->' operator|
92
92
|[Compiler error C2274](compiler-error-c2274.md)|'*type*': illegal as right side of '.' operator|
93
-
|[Compiler error C2275](compiler-error-c2275.md)|'*type*': illegal use of this type as an expression|
93
+
|[Compiler error C2275](compiler-error-c2275.md)|'*type*': expected an expression instead of a type|
94
94
|[Compiler error C2276](compiler-error-c2276.md)|'*operator*': illegal operation on bound member function expression|
95
95
|[Compiler error C2277](compiler-error-c2277.md)|'*function*': cannot take address of this member function|
96
-
|Compiler error C2278|Obsolete.|
96
+
|Compiler error C2278|'*token*': unexpected token. Format is '`__has_cpp_attribute( identifier )`'|
97
97
|[Compiler error C2279](compiler-error-c2279.md)|exception specification cannot appear in a typedef declaration|
98
98
|[Compiler error C2280](compiler-error-c2280.md)|'*class*::*function*': attempting to reference a deleted function|
99
99
|Compiler error C2281|'*class*::*function*': a function can only be deleted on the first declaration|
@@ -103,7 +103,7 @@ The articles in this section of the documentation explain a subset of the error
103
103
|[Compiler error C2285](compiler-error-c2285.md)|pointers to members representation has already been determined - pragma ignored|
104
104
|[Compiler error C2286](compiler-error-c2286.md)|pointers to members of '*identifier*' representation is already set to *inheritance* - declaration ignored|
105
105
|[Compiler error C2287](compiler-error-c2287.md)|'*identifier*': inheritance representation: '*inheritiance*' is less general than the required '*inheritance*'|
106
-
|Compiler error C2288|Obsolete.|
106
+
|Compiler error C2288|preprocessing number '*number*' is not a valid integer or floating literal|
107
107
|[Compiler error C2289](compiler-error-c2289.md)|same type qualifier used more than once|
108
108
|[Compiler error C2290](compiler-error-c2290.md)|C++ 'asm' syntax ignored. Use __asm.|
109
109
|Compiler error C2291|An anonymous namespace cannot be exported.|
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-errors-1/compiler-errors-c2300-through-c2399.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ The articles in this section of the documentation explain a subset of the error
53
53
|Compiler error C2335|'*identifier*': a type cannot be introduced in a function parameter list|
54
54
|Compiler error C2336|'*type*': illegal type|
55
55
|[Compiler error C2337](compiler-error-c2337.md)|'*attribute*': attribute not found|
56
-
|[Compiler error C2338](compiler-error-c2338.md)|*(error message from external provider)*|
56
+
|[Compiler error C2338](compiler-error-c2338.md)|static_assert failed: '*(error message from external provider)*'|
57
57
|Compiler error C2339|'*identifier*': illegal type in embedded-IDL|
58
58
|Compiler error C2340|'*identifier*': 'static' can only be used within a class definition|
59
59
|[Compiler error C2341](compiler-error-c2341.md)|'*section*': segment must be defined using #pragma data_seg, code_seg or section prior to use|
@@ -67,7 +67,7 @@ The articles in this section of the documentation explain a subset of the error
67
67
|[Compiler error C2349](compiler-error-c2349.md)|'*function*' cannot be compiled as managed: '*explanation*'; use #pragma unmanaged|
68
68
|[Compiler error C2350](compiler-error-c2350.md)|'*identifier*' is not a static member|
69
69
|[Compiler error C2351](compiler-error-c2351.md)|obsolete C++ constructor initialization syntax|
70
-
|[Compiler error C2352](compiler-error-c2352.md)|'*identifier*': illegal call of non-static member function|
70
+
|[Compiler error C2352](compiler-error-c2352.md)|'*identifier*': a call of a non-static member function requires an object|
71
71
|[Compiler error C2353](compiler-error-c2353.md)|exception specification is not allowed|
72
72
|Compiler error C2354|Obsolete.|
73
73
|[Compiler error C2355](compiler-error-c2355.md)|'this': can only be referenced inside non-static member functions or non-static data member initializers|
@@ -96,7 +96,7 @@ The articles in this section of the documentation explain a subset of the error
96
96
|[Compiler error C2378](compiler-error-c2378.md)|'*identifier*': redefinition; symbol cannot be overloaded with a typedef|
97
97
|[Compiler error C2379](compiler-error-c2379.md)|formal parameter *number* has different type when promoted|
98
98
|[Compiler error C2380](compiler-error-c2380.md)|type(s) preceding '*identifier*' (constructor with return type, or illegal redefinition of current class-name?)|
99
-
|[Compiler error C2381](compiler-error-c2381.md)|'*identifier*': redefinition; '__declspec(noreturn)' or '[[noreturn]]' differs|
Copy file name to clipboardExpand all lines: docs/error-messages/compiler-errors-1/compiler-errors-c2400-through-c2499.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The articles in this section of the documentation explain a subset of the error
50
50
|[Compiler error C2432](compiler-error-c2432.md)|illegal reference to 16-bit data in '*context*'|
51
51
|[Compiler error C2433](compiler-error-c2433.md)|'*identifier*': '*modifier*' not permitted on data declarations|
52
52
|[Compiler error C2434](compiler-error-c2434.md)|'*symbol*': a symbol declared with `__declspec(process)` cannot be dynamically initialized in `/clr:pure` mode|
0 commit comments