Compiler Errors And Warnings (C++) Index
Go Up to C++ Reference
This section describes error and warning messages for the RAD Studio C++ 32-bit Windows compiler (BCC32).
- Note: For information about errors/warnings from the Clang-enhanced C++ compilers see:
Contents
Messages Without Numbers
- Application is running (C++)
- explicit instantiation of '<namespace>::<templated class>' must occur in namespace '<namespace>' (C++)
- Unexpected termination during compilation Module Seg:offset OR Unexpected termination during linking Module Seg:offset (C++)
- Packaging Components Or Libraries Written In Classic and Clang C++ Win32 Compilers
Messages With Numbers
Error Messages
- E2000 286/287 instructions not enabled (C++)
- E2001 Constructors and destructors not allowed in __automated section (C++)
- E2002 Only __fastcall functions allowed in __automated section (C++)
- E2003 Data member definition not allowed in __automated section (C++)
- E2004 Only read or write clause allowed in property declaration in __automated section (C++)
- E2005 Redeclaration of property not allowed in __automated section (C++)
- E2006 CodeGuarded programs must use the large memory model and be targeted for Windows (C++)
- E2007 Dispid only allowed in __automated sections (C++)
- E2008 Published property access functions must use __fastcall calling convention (C++)
- E2009 Attempt to grant or reduce access to 'identifier' (C++)
- E2010 Cannot add or subtract relocatable symbols (C++)
- E2011 Illegal to take address of bit field (C++)
- E2012 Cannot take address of 'main' (C++)
- E2013 'function1' cannot be distinguished from 'function2' (C++)
- E2014 Member is ambiguous 'member1' and 'member2' (C++)
- E2015 Ambiguity between 'function1' and 'function2' (C++)
- E2016 Ambiguous override of virtual base member 'base_function': 'derived_function' (C++)
- E2017 Ambiguous member name 'name' (C++)
- E2018 Cannot catch 'identifier' -- ambiguous base class 'identifier' (C++)
- E2019 'identifier' cannot be declared in an anonymous union (C++)
- E2020 Global anonymous union not static (C++)
- E2021 Array must have at least one element (C++)
- E2022 Array size too large (C++)
- E2023 Array of references is not allowed (C++)
- E2024 Cannot modify a const object (C++)
- E2025 Assignment to 'this' not allowed, use X::operator new instead (C++)
- E2026 Assembler statement too long (C++)
- E2027 Must take address of a memory location (C++)
- E2028 operator - must return a pointer or a class (C++)
- E2029 'identifier' must be a previously defined class or struct (C++)
- E2030 Misplaced break (C++)
- E2031 Cannot cast from 'type1' to 'type2' (C++)
- E2032 Illegal use of closure pointer (C++)
- E2033 Misplaced continue (C++)
- E2034 Cannot convert 'type1' to 'type2' (C++)
- E2035 Conversions of class to itself or base class not allowed (C++)
- E2036 Conversion operator cannot have a return type specification (C++)
- E2037 The constructor 'constructor' is not allowed (C++)
- E2038 Cannot declare or define 'identifier' here: wrong namespace (C++)
- E2039 Misplaced decimal point (C++)
- E2040 Declaration terminated incorrectly (C++)
- E2041 Incorrect use of default (C++)
- E2042 Declare operator delete (void*) (C++)
- E2043 Declare operator delete (void*) or (void*, size_t) (C++)
- E2044 operator delete must return void (C++)
- E2045 Destructor name must match the class name (C++)
- E2046 Bad file name format in include directive OR Bad file name format in line directive (C++)
- E2047 Bad 'directive' directive syntax (C++)
- E2048 Unknown preprocessor directive - 'identifier' (C++)
- E2049 Class type 'type' cannot be marked as __declspec(delphireturn) (C++)
- E2050 __declspec(delphireturn) class 'class' must have exactly one data member (C++)
- E2051 Invalid use of dot (C++)
- E2052 Dynamic function 'function' conflicts with base class 'class' (C++)
- E2053 Misplaced elif directive (C++)
- E2054 Misplaced else (C++)
- E2055 Misplaced else directive (C++)
- E2056 Misplaced endif directive (C++)
- E2057 Exception specification not allowed here (C++)
- E2058 Exception handling variable may not be used here (C++)
- E2059 Unknown language, must be C or C++ (C++)
- E2060 Illegal use of floating point (C++)
- E2061 Friends must be functions or classes (C++)
- E2062 Invalid indirection (C++)
- E2063 Illegal initialization (C++)
- E2064 Cannot initialize 'type1' with 'type2' (C++)
- E2065 Using namespace symbol 'symbol' conflicts with intrinsic of the same name (C++)
- E2066 Information not available (C++)
- E2066 Invalid MOM inheritance (C++)
- E2067 'main' must have a return type of int (C++)
- E2068 'identifier' is not a non-static data member and can't be initialized here (C++)
- E2069 Illegal use of member pointer (C++)
- E2070 Invalid use of namespace 'identifier' (C++)
- E2071 operator new must have an initial parameter of type size_t (C++)
- E2072 Operator new must return an object of type void (C++)
- E2073 Nothing allowed after pragma option pop (C++)
- E2074 Value after -g or -j should be between 0 and 255 inclusive (C++)
- E2075 Incorrect 'type' option option (C++)
- E2076 Overloadable operator expected (C++)
- E2077 'operator' must be declared with one or no parameters (C++)
- E2078 'operator' must be declared with one or two parameters (C++)
- E2079 'function' must be declared with no parameters (C++)
- E2080 'function' must be declared with one parameter (C++)
- E2081 'function' must be declared with two parameters (C++)
- E2082 'identifier' must be a member function or have a parameter of class type (C++)
- E2083 Last parameter of 'operator' must have type 'int' (C++)
- E2084 Parameter names are used only with a function body (C++)
- E2085 Invalid pointer addition (C++)
- E2086 Illegal pointer subtraction (C++)
- E2087 Illegal use of pointer (C++)
- E2088 Bad syntax for pure function definition (C++)
- E2089 Identifier 'identifier' cannot have a type qualifier (C++)
- E2090 Qualifier 'identifier' is not a class or namespace name (C++)
- E2091 Functions cannot return arrays or functions (C++)
- E2092 Storage class 'storage class' is not allowed here (C++)
- E2093 Operator 'operator' not implemented in type 'type' for arguments of the same type (C++)
- E2094 Operator 'operator' not implemented in type 'type' for arguments of type 'type' (C++)
- E2095 String literal not allowed in this context (C++)
- E2096 Illegal structure operation (C++)
- E2097 Explicit instantiation only allowed at file or namespace scope (C++)
- E2098 Explicit specialization declarator "template" now required (C++)
- E2099 Explicit specialization only allowed at file or namespace scope (C++)
- E2100 Invalid template declarator list (C++)
- E2101 'export' keyword must precede a template declaration (C++)
- E2102 Cannot use template 'template' without specifying specialization parameters (C++)
- E2103 Explicit instantiation must be used with a template class or function (C++)
- E2104 Invalid use of template keyword (C++)
- E2105 'template' qualifier must specify a member template name (C++)
- E2106 Explicit specialization must be used with a template class or function (C++)
- E2107 Invalid use of template 'template' (C++)
- E2108 Improper use of typedef 'identifier' (C++)
- E2109 Not an allowed type (C++)
- E2110 Incompatible type conversion (C++)
- E2111 Type 'typename' may not be defined here (C++)
- E2112 Unknown unit directive - 'directive' (C++)
- E2113 Virtual function 'function1' conflicts with base class 'base' (C++)
- E2114 Multiple base classes require explicit class names (C++)
- E2115 Bit field too large (C++)
- E2116 Bit fields must contain at least one bit (C++)
- E2117 Bit fields must be signed or unsigned int (C++)
- E2118 Bit fields must have integral type (C++)
- E2119 User break (C++)
- E2120 Cannot call 'main' from within the program (C++)
- E2121 Function call missing ) (C++)
- E2122 Function call terminated by unhandled exception 'value' at address 'addr' (C++)
- E2123 Class 'class' may not contain pure functions (C++)
- E2124 Invalid function call (C++)
- E2125 Compiler could not generate copy constructor for class 'class'
- E2126 Case bypasses initialization of a local variable (C++)
- E2127 Case statement missing : (C++)
- E2128 Case outside of switch (C++)
- E2129 Character constant too long (or empty) (C++)
- E2130 Circular property definition (C++)
- E2131 Objects of type 'type' cannot be initialized with (C++)
- E2132 Templates and overloaded operators cannot have C linkage (C++)
- E2133 Unable to execute command 'command' (C++)
- E2134 Compound statement missing closing brace (C++)
- E2135 Constructor/Destructor cannot be declared 'const' or 'volatile' (C++)
- E2136 Constructor cannot have a return type specification (C++)
- E2137 Destructor for 'class' required in conditional expression (C++)
- E2138 Conflicting type modifiers (C++)
- E2139 Declaration missing ; (C++)
- E2140 Declaration is not allowed here (C++)
- E2141 Declaration syntax error (C++)
- E2142 Base class 'class' contains dynamically dispatchable functions (C++)
- E2143 Matching base class function 'function' has different dispatch number (C++)
- E2144 Matching base class function 'function' is not dynamic (C++)
- E2145 Functions 'function1' and 'function2' both use the same dispatch number (C++)
- E2146 Need an identifier to declare (C++)
- E2147 'identifier' cannot start a parameter declaration (C++)
- E2148 Default argument value redeclared for parameter 'parameter' (C++)
- E2149 Default argument value redeclared (C++)
- E2150 Type mismatch in default argument value (C++)
- E2151 Type mismatch in default value for parameter 'parameter' (C++)
- E2152 Default expression may not use local variables (C++)
- E2153 Define directive needs an identifier (C++)
- E2154 Cannot define 'identifier' using a namespace alias (C++)
- E2155 Too many default cases (C++)
- E2156 Default outside of switch (C++)
- E2157 Deleting an object requires exactly one conversion to pointer operator (C++)
- E2158 Operand of 'delete' must be non-const pointer (C++)
- E2159 Trying to derive a far class from the huge base 'base' (C++)
- E2160 Trying to derive a far class from the near base 'base' (C++)
- E2161 Trying to derive a huge class from the far base 'base' (C++)
- E2162 Trying to derive a huge class from the near base 'base' (C++)
- E2163 Trying to derive a near class from the far base 'base' (C++)
- E2164 Trying to derive a near class from the huge base 'base' (C++)
- E2165 Destructor cannot have a return type specification (C++)
- E2166 Destructor for 'class' is not accessible (C++)
- E2167 'function' was previously declared with the language 'language' (C++)
- E2168 Division by zero (C++)
- E2169 'identifier' specifies multiple or duplicate access (C++)
- E2170 Base class 'class' is included more than once (C++)
- E2171 Body has already been defined for function 'function' (C++)
- E2172 Duplicate case (C++)
- E2173 Duplicate handler for 'type1', already had 'type2' (C++)
- E2174 The name handler must be last (C++)
- E2175 Too many storage classes in declaration (C++)
- E2176 Too many types in declaration (C++)
- E2177 Redeclaration of #pragma package with different arguments (C++)
- E2178 VIRDEF name conflict for 'function' (C++)
- E2179 virtual specified more than once (C++)
- E2180 Dispid number already used by identifier (C++)
- E2181 Cannot override a 'dynamic/virtual' with a 'dynamic/virtual' function (C++)
- E2182 Illegal parameter to __emit__ (C++)
- E2183 File must contain at least one external declaration (C++)
- E2184 Enum syntax error (C++)
- E2185 The value for 'identifier' is not within the range of 'type-name' (C++)
- E2186 Unexpected end of file in comment started on line 'number' (C++)
- E2187 Unexpected end of file in conditional started on line 'number' (C++)
- E2188 Expression syntax (C++)
- E2189 extern variable cannot be initialized (C++)
- E2190 Unexpected closing brace (C++)
- E2191 '__far16' may only be used with '__pascal' or '__cdecl' (C++)
- E2192 Too few parameters in call (C++)
- E2193 Too few parameters in call to 'function' (C++)
- E2194 Could not find file 'filename' (C++)
- E2195 Cannot evaluate function call (C++)
- E2196 Cannot take address of member function 'function' (C++)
- E2197 File name too long (C++)
- E2198 Not a valid expression format type (C++)
- E2199 Template friend function 'function' must be previously declared (C++)
- E2200 Functions may not be part of a struct or union (C++)
- E2201 Too much global data defined in file (C++)
- E2202 Goto into an exception handler is not allowed (C++)
- E2203 Goto bypasses initialization of a local variable (C++)
- E2204 Group overflowed maximum size: 'name' (C++)
- E2205 Illegal type type in __automated section (C++)
- E2206 Illegal character 'character' (0x'value') (C++)
- E2207 Implicit conversion of 'type1' to 'type2' not allowed (C++)
- E2208 Cannot access an inactive scope (C++)
- E2209 Unable to open include file 'filename' (C++)
- E2210 Reference member 'member' is not initialized (C++)
- E2211 Inline assembly not allowed in inline and template functions (C++)
- E2212 Function defined inline after use as extern (C++)
- E2213 Invalid 'expression' in scope override (C++)
- E2214 Cannot have a 'non-inline function/static data' in a local class (C++)
- E2215 Linkage specification not allowed (C++)
- E2216 Unable to create turboc.$ln (C++)
- E2217 Local data exceeds segment size limit (C++)
- E2218 Templates can only be declared at namespace or class scope (C++)
- E2219 Wrong number of arguments in call of macro 'macro' (C++)
- E2220 Invalid macro argument separator (C++)
- E2221 Macro argument syntax error (C++)
- E2222 Macro expansion too long (C++)
- E2223 Too many decimal points (C++)
- E2224 Too many exponents (C++)
- E2225 Too many initializers (C++)
- E2226 Extra parameter in call (C++)
- E2227 Extra parameter in call to function (C++)
- E2228 Too many error or warning messages (C++)
- E2229 Member 'member' has the same name as its class (C++)
- E2230 In-line data member initialization requires an integral constant expression (C++)
- E2231 Member 'member' cannot be used without an object (C++)
- E2232 Constant/Reference member 'member' in class without constructors (C++)
- E2233 Cannot initialize a class member here (C++)
- E2234 Memory reference expected (C++)
- E2235 Member function must be called or its address taken (C++)
- E2236 Missing 'identifier' in scope override (C++)
- E2238 Multiple declaration for 'identifier' (C++)
- E2239 'identifier' must be a member function (C++)
- E2240 Conversion of near pointer not allowed (C++)
- E2241 Delphi style classes need virtual destructors (C++)
- E2242 Specifier requires Delphi style class type (i.e. class marked __declspec(delphiclass) or derived from System::TObject) (C++)
- E2243 Array allocated using 'new' may not have an initializer (C++)
- E2244 'new' and 'delete' not supported (C++)
- E2245 Cannot allocate a reference (C++)
- E2246 x is not abstract public single inheritance class hierarchy with no data (C++)
- E2247 'member' is not accessible (C++)
- E2248 Cannot find default constructor to initialize array element of type 'class' (C++)
- E2249 = expected (C++)
- E2250 No base class to initialize (C++)
- E2251 Cannot find default constructor to initialize base class 'class' (C++)
- E2252 'catch' expected (C++)
- E2253 Calling convention must be attributed to the function type, not the closure (C++)
- E2254 : expected after private/protected/private (C++)
- E2255 Use :: to take the address of a member function (C++)
- E2256 No : following the ? (C++)
- E2257 , expected (C++)
- E2258 Declaration was expected (C++)
- E2259 Default value missing (C++)
- E2260 Default value missing following parameter 'parameter' (C++)
- E2261 Use of dispid with a property requires a getter or setter (C++)
- E2262 '__except' or '__finally' expected following '__try' (C++)
- E2263 Exception handling not enabled (C++)
- E2264 Expression expected (C++)
- E2265 No file name ending (C++)
- E2266 No file names given (C++)
- E2267 First base must be Delphi style class (C++)
- E2268 Call to undefined function 'function' (C++)
- E2269 The function 'function' is not available (C++)
- E2270 expected (C++)
- E2271 Goto statement missing label (C++)
- E2272 Identifier expected (C++)
- E2273 'main' cannot be declared as static or inline (C++)
- E2274 expected (C++)
- E2275 Opening brace expected (C++)
- E2276 ( expected (C++)
- E2277 Lvalue required (C++)
- E2278 Multiple base classes not supported for Delphi classes (C++)
- E2279 Cannot find default constructor to initialize member 'identifier' (C++)
- E2280 Member identifier expected (C++)
- E2281 Identifier1 requires definition of Identifier2 as a pointer type (Did you #include <%s>?) (C++)
- E2282 Namespace name expected (C++)
- E2283 Use . or - to call 'function' (C++)
- E2284 Use . or - to call 'member', or & to take its address (C++)
- E2285 Could not find a match for 'argument(s)' (C++)
- E2286 Overloaded function resolution not supported (C++)
- E2287 Parameter 'number' missing name (C++)
- E2288 Pointer to structure required on left side of - or -* (C++)
- E2289 __published or __automated sections only supported for Delphi classes (C++)
- E2290 'code' missing (C++)
- E2291 brace expected (C++)
- E2292 Function should return a value (C++)
- E2293 ) expected (C++)
- E2294 Structure required on left side of . or .* (C++)
- E2295 Too many candidate template specializations from 'specifier' (C++)
- E2296 Templates not supported (C++)
- E2297 'this' can only be used within a member function (C++)
- E2298 Cannot generate 'function' from template function 'template' (C++)
- E2299 Cannot generate template specialization from 'specifier' (C++)
- E2300 Could not generate a specialization matching type for 'specifier' (C++)
- E2301 Cannot use templates in closure arguments -- use a typedef (C++)
- E2302 No type information (C++)
- E2303 Type name expected (C++)
- E2304 'Constant/Reference' variable 'variable' must be initialized (C++)
- E2305 Cannot find 'class::class' ('class'&) to copy a vector OR Cannot find 'class'::operator=('class'&) to copy a vector (C++)
- E2306 Virtual base classes not supported for Delphi classes (C++)
- E2307 Type 'type' is not a defined class with virtual functions (C++)
- E2308 do statement must have while (C++)
- E2309 Inline assembly not allowed (C++)
- E2310 Only member functions may be 'const' or 'volatile' (C++)
- E2311 Non-virtual function 'function' declared pure (C++)
- E2312 'constructor' is not an unambiguous base class of 'class' (C++)
- E2313 Constant expression required (C++)
- E2314 Call of nonfunction (C++)
- E2315 'Member' is not a member of 'class', because the type is not yet defined (C++)
- E2316 'identifier' is not a member of 'struct' (C++)
- E2317 'identifier' is not a parameter (C++)
- E2318 'type' is not a polymorphic class type (C++)
- E2319 'identifier' is not a public base class of 'classtype' (C++)
- E2320 Expression of scalar type expected (C++)
- E2321 Declaration does not specify a tag or an identifier (C++)
- E2322 Incorrect number format (C++)
- E2323 Illegal number suffix (C++)
- E2324 Numeric constant too large (C++)
- E2325 Illegal octal digit (C++)
- E2326 Use __declspec(spec1, spec2) to combine multiple __declspecs (C++)
- E2327 Operators may not have default argument values (C++)
- E2328 Classes with properties cannot be copied by value (C++)
- E2329 Invalid combination of opcode and operands (C++)
- E2330 Operator must be declared as function (C++)
- E2331 Number of allowable option contexts exceeded (C++)
- E2332 Variable 'variable' has been optimized and is not available (C++)
- E2333 Class member 'member' declared outside its class (C++)
- E2334 Namespace member 'identifier' declared outside its namespace (C++)
- E2335 Overloaded 'function name' ambiguous in this context (C++)
- E2336 Pointer to overloaded function 'function' doesn't match 'type' (C++)
- E2337 Only one of a set of overloaded functions can be "C" (C++)
- E2338 Overlays only supported in medium, large, and huge memory models (C++)
- E2339 Cannot overload 'main' (C++)
- E2340 Type mismatch in parameter 'number' (C++)
- E2341 Type mismatch in parameter 'number' in call to 'function' (C++)
- E2342 Type mismatch in parameter 'parameter' (C++)
- E2343 Type mismatch in parameter 'parameter' in call to 'function' (C++)
- E2344 Earlier declaration of 'identifier' (C++)
- E2345 Access can only be changed to public or protected (C++)
- E2346 'x' access specifier of property 'property' must be a member function (C++)
- E2347 Parameter mismatch in access specifier 'specifier' of property 'property' (C++)
- E2348 Storage specifier not allowed for array properties (C++)
- E2349 Nonportable pointer conversion (C++)
- E2350 Cannot define a pointer or reference to a reference (C++)
- E2351 Static data members not allowed in __published or __automated sections (C++)
- E2352 Cannot create instance of abstract class 'class' (C++)
- E2353 Class 'classname' is abstract because of 'member = 0' (C++)
- E2354 Two operands must evaluate to the same type (C++)
- E2355 Recursive template function: 'x' instantiated 'y' (C++)
- E2356 Type mismatch in redeclaration of 'identifier' (C++)
- E2357 Reference initialized with 'type1', needs lvalue of type 'type2' (C++)
- E2358 Reference member 'member' needs a temporary for initialization (C++)
- E2359 Reference member 'member' initialized with a non-reference parameter (C++)
- E2360 Invalid register combination (e.g. BP+BX) (C++)
- E2361 'specifier' has already been included (C++)
- E2362 Repeat count needs an lvalue (C++)
- E2363 Attempting to return a reference to local variable 'identifier' (C++)
- E2364 Attempting to return a reference to a local object (C++)
- E2365 Member pointer required on right side of .* or -* (C++)
- E2366 Can't inherit non-RTTI class from RTTI base OR E2367 Can't inherit RTTI class from non-RTTI base (C++)
- E2368 RTTI not available for expression evaluation (C++)
- E2369 Cannot use the result of a property assignment as an rvalue' (C++)
- E2370 Simple type name expected (C++)
- E2371 sizeof may not be applied to a bit field (C++)
- E2372 sizeof may not be applied to a function (C++)
- E2373 Bit field cannot be static (C++)
- E2374 Function 'function' cannot be static (C++)
- E2375 Assembler stack overflow (C++)
- E2376 statement missing (C++)
- E2377 statement missing ) (C++)
- E2378 do-while or for statement missing ; (C++)
- E2379 Statement missing ; (C++)
- E2380 Unterminated string or character constant (C++)
- E2381 Structure size too large (C++)
- E2382 Side effects are not allowed (C++)
- E2383 Switch selection expression must be of integral type (C++)
- E2384 Cannot call near class member function with a pointer of type 'type' (C++)
- E2385 Cannot call near class member function '%s' with a pointer of type '%s' (C++)
- E2386 Cannot involve parameter 'parameter' in a complex partial specialization expression (C++)
- E2387 Partial specializations may not specialize dependent non-type parameters ('parameter') (C++)
- E2388 Argument list of specialization cannot be identical to the parameter list of primary template (C++)
- E2389 Mismatch in kind of substitution argument and template parameter 'parameter' (C++)
- E2390 Type mismatch in parameter 'number' in template class name 'template' (C++)
- E2391 Type mismatch in parameter 'parameter' in template class name 'template' (C++)
- E2392 Template instance 'template' is already instantiated (C++)
- E2393 Cannot take the address of non-type, non-reference template parameter 'parameter' (C++)
- E2394 Too few arguments passed to template 'template' (C++)
- E2395 Too many arguments passed to template 'template' (C++)
- E2396 Template argument must be a constant expression (C++)
- E2397 Template argument cannot have static or local linkage (C++)
- E2398 Template function argument 'argument' not used in argument types (C++)
- E2399 Cannot reference template argument 'arg' in template class 'class' this way (C++)
- E2400 Nontype template argument must be of scalar type (C++)
- E2401 Invalid template argument list (C++)
- E2402 Illegal base class type formal type 'type' resolves to 'type' (C++)
- E2403 Dependent call specifier yields non-function 'name' (C++)
- E2404 Dependent type qualifier 'qualifier' has no member type named 'name' (C++)
- E2405 Dependent template reference 'identifier' yields non-template symbol (C++)
- E2406 Dependent type qualifier 'qualifier' is not a class or struct type (C++)
- E2407 Dependent type qualifier 'qualifier' has no member symbol named 'name' (C++)
- E2408 Default values may be specified only in primary class template declarations (C++)
- E2409 Cannot find a valid specialization for 'specifier' (C++)
- E2410 Missing template parameters for friend template 'template' (C++)
- E2411 Declaration of member function default parameters after a specialization has already been expanded (C++)
- E2412 Attempting to bind a member reference to a dependent type (C++)
- E2413 Invalid template declaration (C++)
- E2414 Destructors cannot be declared as template functions (C++)
- E2415 Template functions may only have 'type-arguments' (C++)
- E2416 Invalid template function declaration (C++)
- E2417 Cannot specify template parameters in explicit specialization of 'specifier' (C++)
- E2418 Maximum instantiation depth exceeded; check for recursion (C++)
- E2419 Error while instantiating template 'template' (C++)
- E2420 Explicit instantiation can only be used at global scope (C++)
- E2421 Cannot use local type 'identifier' as template argument (C++)
- E2422 Argument kind mismatch in redeclaration of template parameter 'parameter' (C++)
- E2423 Explicit specialization or instantiation of non-existing template 'template' (C++)
- E2424 Template class nesting too deep: 'class' (C++)
- E2425 'member' is not a valid template type member (C++)
- E2426 Explicit specialization of 'specifier' requires 'template' declaration (C++)
- E2427 'main' cannot be a template function (C++)
- E2428 Templates must be classes or functions (C++)
- E2429 Not a valid partial specialization of 'specifier' (C++)
- E2430 Number of template parameters does not match in redeclaration of 'specifier' (C++)
- E2431 Non-type template parameters cannot be of floating point, class, or void type (C++)
- E2432 'template' qualifier must name a template class or function instance' (C++)
- E2433 Specialization after first use of template (C++)
- E2434 Template declaration missing template parameters ('template...') (C++)
- E2435 Too many template parameter sets were specified (C++)
- E2436 Default type for template template argument 'arg' does not name a primary template class (C++)
- E2437 'typename' should be followed by a qualified, dependent type name (C++)
- E2438 Template template arguments must name a class (C++)
- E2439 'typename' is only allowed in template declarations (C++)
- E2440 Cannot generate specialization from 'specifier' because that type is not yet defined (C++)
- E2441 Instantiating 'specifier' (C++)
- E2442 Two consecutive dots (C++)
- E2443 Base class 'class' is initialized more than once (C++)
- E2444 Member 'member' is initialized more than once (C++)
- E2445 Variable 'identifier' is initialized more than once (C++)
- E2446 Function definition cannot be a typedef'ed declaration (C++)
- E2447 'identifier' must be a previously defined enumeration tag (C++)
- E2448 Undefined label 'identifier' (C++)
- E2449 Size of 'identifier' is unknown or zero (C++)
- E2450 Undefined structure 'structure' (C++)
- E2451 Undefined symbol 'identifier' (C++)
- E2452 Size of the type is unknown or zero (C++)
- E2453 Size of the type 'identifier' is unknown or zero (C++)
- E2454 union cannot be a base type (C++)
- E2455 union cannot have a base type (C++)
- E2456 Union member 'member' is of type class with 'constructor' (or destructor, or operator =) (C++)
- E2457 Delphi style classes must be caught by reference (C++)
- E2458 Delphi classes have to be derived from Delphi classes (C++)
- E2459 Delphi style classes must be constructed using operator new (C++)
- E2460 Delphi style classes require exception handling to be enabled (C++)
- E2461 '%s' requires run-time initialization/finalization (C++)
- E2462 'virtual' can only be used with non-template member functions (C++)
- E2463 'base' is an indirect virtual base class of 'class' (C++)
- E2464 'virtual' can only be used with member functions (C++)
- E2465 unions cannot have virtual member functions (C++)
- E2466 void & is not a valid type (C++)
- E2467 'Void function' cannot return a value (C++)
- E2468 Value of type void is not allowed (C++)
- E2469 Cannot use tiny or huge memory model with Windows (C++)
- E2470 Need to include header typeinfo to use typeid (C++)
- E2471 #pragma checkoption failed: options are not as expected (C++)
- E2472 Cannot declare a member function via instantiation (C++)
- E2473 Invalid explicit specialization of 'specifier' (C++)
- E2474 'function' cannot be declared as static or inline (C++)
- E2475 'function' cannot be a template function (C++)
- E2476 Cannot overload 'function' (C++)
- E2477 Too few template parameters were declared for template 'template' (C++)
- E2478 Too many template parameters were declared for template 'template' (C++)
- E2479 Cannot have both a template class and function named 'name' (C++)
- E2480 Cannot involve template parameters in complex partial specialization arguments (C++)
- E2481 Unexpected string constant (C++)
- E2482 String constant expected (C++)
- E2483 Array dimension 'specifier' could not be determined (C++)
- E2484 The name of template class 'class' cannot be overloaded (C++)
- E2485 Cannot use address of array element as non-type template argument (C++)
- E2486 Cannot use address of class member as non-type template argument (C++)
- E2487 Cannot specify default function arguments for explicit specializations (C++)
- E2488 Maximum token reply depth exceeded; check for recursion (C++)
- E2489 Maximum option context replay depth exceeded; check for recursion (C++)
- E2490 Specialization within template classes not yet implemented (C++)
- E2491 Maximum VIRDEF count exceeded; check for recursion (C++)
- E2492 Properties may only be assigned using a simple statement, e.g. \"prop = value;\" (C++)
- E2493 Invalid GUID string (C++)
- E2494 Unrecognized __declspec modifier (C++)
- E2495 Redefinition of uuid is not identical (C++)
- E2496 Invalid call to uuidof(struct type | variable) (C++)
- E2497 No GUID associated with type:'type' (C++)
- E2498 Need previously defined struct GUID (C++)
- E2499 Invalid __declspec(uuid(GuidString)) format (C++)
- E2500 __declspec(selectany) is only for initialized and externally visible variables (C++)
- E2501 Unable to open import file 'filename' (C++)
- E2502 Error resolving #import: problem (C++)
- E2503 Missing or incorrect version of TypeLibImport.dll (C++)
- E2504 'dynamic' can only be used with non-template member functions (C++)
- E2505 Explicit instantiation requires an elaborated type specifier (i.e.,"class fooint") (C++)
- E2506 Explicit specialization of 'specifier' is ambiguous: must specify template arguments (C++)
- E2507 'class' is not a direct base class of 'class' (C++)
- E2508 'using' cannot refer to a template specialization (C++)
- E2509 Value out of range (C++)
- E2510 Operand size mismatch (C++)
- E2511 Unterminated macro argument (C++)
- E2512 Cannot emit RTTI for return type of 'function' (C++)
- E2513 Cannot emit RTTI for 'parameter' in 'function' (C++)
- E2514 Cannot (yet) use member overload resolution during template instantiation (C++)
- E2515 Cannot explicitly specialize a member of a generic template class (C++)
- E2516 LOOP/JCXZ distance out of range (C++)
- E2517 Only one variadic parameter is allowed and it must come last (C++)
- E2518 typeof may not be applied to a bit field (C++)
- E2519 typeof failed (C++)
- E2520 GNU extern template instantiation not supported (C++)
- E2521 __property '%s' marked 'implements' must map to a field (C++)
- E2522 Non-const function 'function' called for const object (C++)
- E2523 Non-volatile function 'name' called for volatile object (C++)
- E2524 Anonymous structs/unions not allowed to have anonymous members in C++ (C++)
- E2525 You must define _PCH_STATIC_CONST before including xstring to use this feature (C++)
- E2526 Property 'name' uses another property as getter/setter; Not allowed (C++)
- E2527 Option 'name' cannot be set via 'name' (C++)
- E2528 Option 'name' must be set before compilation begins (C++)
- E2529 Path 'path' exceeds maximum size of 'n' (C++)
- E2530 Unrecognized option, or no help available (C++)
- E2531 Parameter is an incomplete type (C++)
- E2532 Constant in new expression requires an initializer (C++)
- E2533 Parameter mismatch (wanted typename) (C++)
- E2534 Integral constant expression expected (C++)
- E2535 Incomplete type cannot be part of a throw specification (C++)
- E2536 Incomplete type cannot be part of a exception declaration (C++)
- E2537 Cannot create instance of abstract class (C++)
- E2538 Static assert failed: '%s' (C++)
- E2539 Constant expression expected (C++)
- E2540 String literal expected (C++)
- E2541 Attribute '%s' cannot be set (C++)
- E2542 '%s' is marked 'final' and cannot be overridden (C++)
- E2543 Combination of options 'options' is not permitted (C++)
- E2544 Function exception specifications do not match (C++)
- E2545 Enum underlying type must be an integral (C++)
- E2546 Redeclaration of enum is not identical (C++)
- E2547 ... expected (C++)
- E2548 ... was unexpected; expression is not a variadic template pattern (C++)
- E2549 Operand is not a parameter pack (C++)
- E2550 No arguments can follow a variadic template in an argument list (C++)
- E2551 Return statement not allowed in __finally block (C++)
- E2552 This feature is not (yet) supported (C++)
- E2553 %s mismatch in redeclaration of '%s' (C++)
- E2554 Pure function '%s' cannot be declared 'final' (C++)
- E2555 Option1 must precede Option2 (C++)
- E2556 Invalid Universal Character Name '\%s' (C++)
- E2557 Multi-character character constant not allowed (C++)
- E2558 The value '\U08x' is not within char16 t character constant (C++)
- E2559 Can't initialize rvalue reference of type '%s' with lvalue of type '%s' (C++)
- E2560 %s requires publishable types (i.e. int, double, DynamicArray<T>, DelphiInterface<T>, UnicodeString, etc) (C++)
- E2561 Can't explicitly export member in a class already marked for export (C++)
- E2562 Function defined with different linkage (C++)
- E2563 Can't import a function being defined (C++)
- E2564 Internal linkage can't be imported (C++)
- E2565 Can't export a local variable (C++)
- E2566 Invalid type '%s' in call to %s (C++)
- E2567 Illegal initialization of array '%s' (C++)
- E2568 Illegal initialization of function '%s' (C++)
- E2569 Internal linkage can't be exported (C++)
- E2570 Can't explicitly import member in class marked for import (C++)
- E2571 Warnings treated as errors (C++)
- E2572 __property '%s' marked 'implements' must map to a field (C++)
- E2573 Maximum SAVEMEM size must be between %d and %d (C++)
Failure Messages
- F1000 Compiler table limit exceeded (C++)
- F1001 Internal code generator error (C++)
- F1002 Unable to create output file 'filename' (C++)
- F1003 Error directive - 'message' (C++)
- F1004 Internal compiler error (C++)
- F1005 Include files nested too deep (C++)
- F1006 Bad call of intrinsic function (C++)
- F1007 Irreducible expression tree (C++)
- F1008 Out of memory (C++)
- F1009 Unable to open input file 'filename' (C++)
- F1010 Unable to open 'filename' (C++)
- F1011 Register allocation failure (C++)
- F1012 Compiler stack overflow (C++)
- F1013 Error writing output file (C++)
- F1014 Failed to allocate SAVEmem (C++)
- F1015 SAVEmem request exceeds maximum available (%d MB) (C++)
Warning Messages
- W8000 Ambiguous operators need parentheses (C++)
- W8001 Superfluous & with function (C++)
- W8002 Restarting compile using assembly (C++)
- W8003 Unknown assembler instruction (C++)
- W8004 'identifier' is assigned a value that is never used (C++)
- W8005 Bit fields must be signed or unsigned int (C++)
- W8006 Initializing 'identifier' with 'identifier' (C++)
- W8007 Hexadecimal value contains more than three digits (C++)
- W8008 Condition is always true OR W8008 Condition is always false (C++)
- W8009 Constant is long (C++)
- W8010 Continuation character \ found in // comment (C++)
- W8011 Nonportable pointer comparison (C++)
- W8012 Comparing signed and unsigned values (C++)
- W8013 Possible use of 'identifier' before definition (C++)
- W8014 Declaration ignored (C++)
- W8015 Declare 'type' prior to use in prototype (C++)
- W8016 Array size for 'delete' ignored (C++)
- W8017 Redefinition of 'x' is not identical (C++)
- W8018 Assigning 'type' to 'enumeration' (C++)
- W8019 Code has no effect (C++)
- W8020 'identifier' is declared as both external and static (C++)
- W8021 Handler for 'type1' hidden by previous handler for 'type2' (C++)
- W8022 'function1' hides virtual function 'function2' (C++)
- W8023 Array variable 'identifier' is near (C++)
- W8024 Base class 'class1' is also a base class of 'class2' (C++)
- W8025 Ill-formed pragma (C++)
- W8026 Functions with exception specifications are not expanded inline (C++)
- W8027 Functions containing 'statement' are not expanded inline (C++)
- W8028 Temporary used to initialize 'identifier' (C++)
- W8029 Temporary used for parameter (C++)
- W8031 Temporary used for parameter 'parameter'
- W8032 Temporary used for parameter 2 in call to '???' (C++)
- W8033 Conversion to 'type' will fail for members of virtual base 'class' (C++)
- W8034 Maximum precision used for member pointer type 'type' (C++)
- W8035 User-defined message (C++)
- W8036 Non-ANSI keyword used - 'keyword' (C++)
- W8037 Non-const function 'function' called for const object (C++)
- W8038 constant member 'identifier' is not initialized (C++)
- W8039 Constructor initializer list ignored (C++)
- W8040 Function body ignored (C++)
- W8041 Negating unsigned value (C++)
- W8042 Initializer for object 'x' ignored (C++)
- W8043 Macro definition ignored (C++)
- W8044 #undef directive ignored (C++)
- W8045 No declaration for function 'function' (C++)
- W8046 Pragma option pop with no matching option push (C++)
- W8047 Declaration of static function function ignored (C++)
- W8048 Use qualified name to access member type 'identifier' (C++)
- W8049 Use ' ' for nested templates Instead of '' (C++)
- W8050 No type OBJ file present; disabling external types option. (C++)
- W8051 Non-volatile function 'function' called for volatile object (C++)
- W8052 Base initialization without a class name is now obsolete (C++)
- W8053 'ident' is obsolete (C++)
- W8054 Style of function definition is now obsolete (C++)
- W8055 Possible overflow in shift operation (C++)
- W8056 Integer arithmetic overflow (C++)
- W8057 Parameter 'parameter' is never used (C++)
- W8058 Cannot create pre-compiled header 'reason' (C++)
- W8059 Structure packing size has changed (C++)
- W8060 Possibly incorrect assignment (C++)
- W8061 Initialization is only partially bracketed (C++)
- W8062 Previous options and warnings not restored (C++)
- W8063 Overloaded prefix operator 'operator' used as a postfix operator (C++)
- W8064 Call to function with no prototype (C++)
- W8065 Call to function 'function' with no prototype (C++)
- W8066 Unreachable code (C++)
- W8067 Both return and return with a value used (C++)
- W8068 Constant out of range in comparison (C++)
- W8069 Nonportable pointer conversion (C++)
- W8070 Function should return a value (C++)
- W8071 Conversion may lose significant digits (C++)
- W8072 Suspicious pointer arithmetic (C++)
- W8073 Undefined structure 'structure' (C++)
- W8074 Structure passed by value (C++)
- W8075 Suspicious pointer conversion (C++)
- W8076 Template instance 'specifier' is already instantiated (C++)
- W8077 Explicitly specializing an explicitly specialized class member makes no sense (C++)
- W8078 Throw expression violates exception specification (C++)
- W8079 Mixing pointers to different 'char' types (C++)
- W8080 'identifier' is declared but never used (C++)
- W8081 Void functions may not return a value (C++)
- W8082 Division by zero (C++)
- W8083 #pragma pack(pop) with no matching pack(push) (C++)
- W8084 Suggest parentheses to clarify precedence (C++)
- W8085 Function 'function' redefined as non-inline (C++)
- W8086 Incorrect use of #pragma alias "aliasName"="substituteName" (C++)
- W8087 'operator::operator==' must be publicly visible to be contained by a 'type' (C++)
- W8089 'type::operator' must be publicly visible to be contained by a 'type' (C++)
- W8090 'type::operator' must be publicly visible to be used with 'type' (C++)
- W8091 'type' argument 'specifier' passed to 'function' is a 'iterator category' iterator: 'iterator category' iterator required (C++)
- W8092 'type' argument 'specifier' passed to 'function' is not an iterator 'type' iterator required (C++)
- W8093 Incorrect use of #pragma codeseg seg_name "seg_class" group (C++)
- W8094 Incorrect use of #pragma comment( type ,"string" ) (C++)
- W8095 Incorrect use of #pragma message( "string" ) (C++)
- W8096 Incorrect use of #pragma code_seg("seg_name","seg_class") (C++)
- W8097 Not all options can be restored at this time (C++)
- W8098 Multi-character character constant (C++)
- W8099 Static main is not treated as an entry point (C++)
- W8100 %s attribute directive ignored (C++)
- W8101 Extern C linkage ignored (C++)
- W8102 Implicit conversion of '%s' to '%s' (C++)
- W8103 Path 'path' and filename 'filename' exceed maximum size of 'n' (C++)
- W8104 Local Static with constructor dangerous for multi-threaded apps (C++)
- W8105 %s member '%s' in class without constructors (C++)
- W8106 %s are deprecated (C++)
- W8107 Type name expected (C++)
- W8108 Constant in new expression requires an initializer (C++)
- W8109 Parameter '%s' is a dependent type (C++)
- W8110 Duplicate '%s' attribute directive ignored (C++)
- W8111 Accessing deprecated entity %s (C++)
- W8112 Unresolved dependencies in expression (C++)
- W8113 Inline function was declared with 'extern template' (C++)
- W8114 Character represented by universal-character-name 'unnnn' cannot be represented in the current ansi locale (string) (C++)
- W8115 Constant expression expected; statement ignored (C++)
- W8116 Returning pointer to a local object (C++)
- W8117 Maximum SAVEMEM size must be between %d and %d (C++)
- W8118 Inline member function in Package class (C++)
- W8119 Alignment reduced to maximum of %d (C++)
- W8120 Base class of dllexport class should also be dllexport (C++)
- W8121 Found invalid character from source code in the current text locale %s (C++)
- W8122 dllexport class member '%s' should be of exported type (C++)
- W8123 Path '%s' not found - path ignored in option '%s' (C++)
- W8124 Published method '%s' contains an unpublishable type (C++)
- W8125 dllexport overrides previous dllimport (C++)
- W8126 Base class of exported class should have exported constructor (C++)
- W8127 Function defined with different linkage (C++)
- W8128 Can't import a function being defined (C++)
- W8129 Interface '%s' does not have a GUID (C++)
- W8130 Interface '%s' does not derive from IUnknown.(Interfaces should derive from IUnknown) (C++)
- W8131 Casting Delphi style class '%s' to an interface. Use 'System::interface_cast<%s>(cls)' instead (C++)
- W8132 Casting interface '%s' to Delphi-style class. Use 'System::interface_cast<%s>(intf)' instead (C++)
- W8133 Requested savemem exceeds amount available (%d) (C++)
- W8134 Cannot allocate arrays of Delphi style class '%s' (C++)
- W8135 Unknown #pragma '%s' ignored (C++)
- W8136 Initialization of TLS data is not supported on this platform (C++)
- W8137 Deprecated #import directive encountered. Please use the TLIBIMP utility instead. (C++)