Compiler Messages
This section lists the compiler messages for HCS08 compiler.
C1: Unknown message occurred
C2: Message overflow, skipping <kind> messages
C50: Input file '<file>' not found
C51: Cannot open statistic log file <file>
C52: Error in command line <cmd>
C53: Message <Id> is not used by this version. The mapping of this message is ignored.
C54: Option <Option> <Description>.
C56: Option value overridden for option <OptionName>. Old value `<OldValue>', new value `<NewValue>'.
C64: Line Continuation occurred in <FileName>
C65: Environment macro expansion message '' for <variablename>
C66: Search path <Name> does not exist
C1000: Illegal identifier list in declaration
C1001: Multiple const declaration makes no sense
C1002: Multiple volatile declaration makes no sense
C1003: Illegal combination of qualifiers
C1004: Redefinition of storage class
C1005: Illegal storage class
C1006: Illegal storage class
C1007: Type specifier mismatch
C1008: Typedef name expected
C1009: Invalid redeclaration
C1010: Illegal enum redeclaration
C1012: Illegal local function definition
C1013: Old style declaration
C1014: Integral type expected or enum value out of range
C1015: Type is being defined
C1016: Parameter redeclaration not permitted
C1017: Empty declaration
C1018: Illegal type composition
C1019: Incompatible type to previous declaration
C1020: Incompatible type to previous declaration
C1021: Bit field type is not 'int'
C1022: 'far' used in illegal context
C1023: 'near' used in illegal context
C1024: Illegal bit field width
C1025: ',' expected before '...'
C1026: Constant must be initialized
C1027: Reference must be initialized
C1028: Member functions cannot be initialized
C1029: Undefined class
C1030: Pointer to reference illegal
C1031: Reference to reference illegal
C1032: Invalid argument expression
C1033: Ident should be base class or data member
C1034: Unknown kind of linkage
C1035: Friend must be declared in class declaration
C1036: Static member functions cannot be virtual
C1037: Illegal initialization for extern variable in block scope
C1038: Cannot be friend of myself
C1039: Typedef-name or ClassName expected
C1040: No valid :: classname specified
C1041: Multiple access specifiers illegal
C1042: Multiple virtual declaration makes no sense
C1043: Base class already declared in base list
C1044: User defined Constructor is required
C1045: <Special member function> not generated
C1046: Cannot create compiler generated <Special member="" function>=""> for nameless class
C1047: Local compiler generated <Special member function> not supported
C1048: Generate compiler defined <Special member="" function>="">
C1049: Members cannot be extern
C1050: Friend must be a class or a function
C1051: Invalid function body
C1052: Unions cannot have class/struct object members containing Con/Destructor/Assign-Operator
C1053: Nameless class cannot have member functions
C1054: Incomplete type or function in class/struct/union
C1055: External linkage for class members not possible
C1056: Friend specifier is illegal for data declarations
C1057: Wrong return type for <FunctionKind>
C1058: Return type for FunctionKind must be <ReturnType>
C1059: Parameter type for <FunctionKind> parameter <No> must be <Type>
C1060: <FunctionKind> wrong number of parameters
C1061: Conversion operator must not have return type specified before operator keyword
C1062: Delete can only be global, if parameter is (void *)
C1063: Global or static-member operators must have a class as first parameter
C1064: Constructor must not have return type
C1065: 'inline' is the only legal storage class for Constructors
C1066: Destructor must not have return type
C1067: Object is missing decl specifiers
C1068: Illegal storage class for Destructor
C1069: Wrong use of far/near/rom/uni/paged in local scope
C1070: Object of incomplete type
C1071: Redefined extern to static
C1072: Redefined extern to static
C1073: Linkage specification contradicts earlier specification
C1074: Wrong member function definition
C1075: Typedef object id already used as tag
C1076: Illegal scope resolution in member declaration
C1077: <FunctionKind> must not have parameters
C1078: <FunctionKind> must be a function
C1080: Constructor/destructor: Parenthesis missing
C1081: Not a static member
C1082: <FunctionKind> must be non-static member of a class/struct
C1084: Not a member
C1085: <ident> is not a member
C1086: Global unary operator must have one parameter
C1087: Static unary operator must have one parameter
C1088: Unary operator must have no parameter
C1089: Global binary operator must have two parameters
C1090: Static binary operator must have two parameters
C1091: Binary operator must have one parameter
C1092: Global unary/binary operator must have one or two parameters
C1093: Static unary/binary operator must have one or two parameters
C1094: Unary/binary operator must have no or one parameter
C1095: Postfix ++/-- operator must have integer parameter
C1096: Illegal index value
C1097: Array bounds missing
C1098: Modifiers for non-member or static member functions illegal
C1099: Not a parameter type
C1100: Reference to void illegal
C1101: Reference to bitfield illegal
C1102: Array of reference illegal
C1103: Second C linkage of overloaded function not allowed
C1104: Bit field type is neither integral nor enum type
C1105: Backend does not support non-int bitfields
C1106: Non-standard bitfield type
C1107: Long long bit fields not supported yet
C1108: Constructor cannot have own class/struct type as first and only parameter
C1109: Generate call to Copy Constructor
C1110: Inline specifier is illegal for data declarations
C1111: Bitfield cannot have indirection
C1112: Interrupt specifier is illegal for data declaration
C1113: Interrupt specifier used twice for same function
C1114: Illegal interrupt number
C1115: Template declaration must be class or function
C1116: Template class needs a tag
C1117: Illegal template/non-template redeclaration
C1118: Only bases and class member functions can be virtual
C1119: Pure virtual function qualifier should be (=0)
C1120: Only virtual functions can be pure
C1121: Definition needed if called with explicit scope resolution
C1122: Cannot instantiate abstract class object
C1123: Cannot instantiate abstract class as argument type
C1124: Cannot instantiate abstract class as return type
C1125: Cannot instantiate abstract class as a type of explicit conversion
C1126: Abstract class cause inheriting pure virtual without overriding function(s)
C1127: Constant void type probably makes no sense
C1128: Class contains private members only
C1129: Parameter list missing in pointer to member function type
C1130: This C++ feature is disabled in your current cC++/EC++ configuration
C1131: Illegal use of global variable address modifier
C1132: Cannot define an anonymous type inside parentheses
C1133: Such an initialization requires STATIC CONST INTEGRAL member
C1134: Static data members are not allowed in local classes
C1135: Ignore Storage Class Specifier cause it only applies on objects
C1136: Class <Ident> is not a correct nested class of class <Ident>
C1137: Unknown or illegal segment name
C1138: Illegal segment type
C1139: Interrupt routine should not have any return value nor any parameter
C1140: This function is already declared and has a different prototype
C1141: Ident <ident> cannot be allocated in global register
C1142: Invalid Cosmic modifier. Accepted: , , or (-ANSI off)
C1143: Ambiguous Cosmic space modifier. Only one per declaration allowed
C1144: Multiple restrict declaration makes no sense
C1390: Implicit virtual function
C1391: Pseudo Base Class is added to this class
C1392: Pointer to virtual methods table not qualified for code address space (use -Qvtprom or -Qvtpuni)
C1393: Delta value does not fit into range (option -Tvtd)
C1395: Classes should be the same or derive one from another
C1396: No pointer to STATIC member: use classic pointer
C1397: Kind of member and kind of pointer to member are not compatible
C1398: Pointer to member offset does not fit into range of given type (option -Tpmo)
C1400: Missing parameter name in function head
C1401: This C++ feature has not been implemented yet
C1402: This C++ feature (<Feature>) is not implemented yet
C1403: Out of memory
C1404: Return expected
C1405: Goto <undeclared label>=""> in this function
C1406: Illegal use of identifierList
C1407: Illegal function-redefinition
C1408: Incorrect function-definition
C1409: Illegal combination of parameterlist and identlist
C1410: Parameter-declaration - identifier-list mismatch
C1411: Function-definition incompatible to previous declaration
C1412: Not a function call, address of a function
C1413: Illegal label-redeclaration
C1414: Casting to pointer of non base class
C1415: Type expected
C1416: No initializer can be specified for arrays
C1417: Const/volatile not allowed for type of new operator
C1418: ] expected for array delete operator
C1419: Non-constant pointer expected for delete operator
C1420: Result of function-call is ignored
C1421: Undefined class/struct/union
C1422: No default Ctor available
C1423: Constant member must be in initializer list
C1424: Cannot specify explicit initializer for arrays
C1425: No Destructor available to call
C1426: Explicit Destructor call not allowed here
C1427: 'this' allowed in member functions only
C1428: No wide characters supported
C1429: Not a destructor id
C1430: No destructor in class/struct declaration
C1431: Wrong destructor call
C1432: No valid classname specified
C1433: Explicit Constructor call not allowed here
C1434: This C++ feature is not yet implemented
C1435: Return expected
C1436: delete needs number of elements of array
C1437: Member address expected
C1438: ... is not a pointer to member ident
C1439: Illegal pragma __OPTION_ACTIVE__, <Reason>
C1440: This is causing previous message <MsgNumber>
C1441: Constant expression shall be integral constant expression
C1442: Typedef cannot be used for function definition
C1443: Illegal wide character
C1444: Initialization of <Variable> is skipped by 'case' label
C1445: Initialization of <Variable> is skipped by 'default' label
C1800: Implicit parameter-declaration (missing prototype) for '<FuncName>'
C1801: Implicit parameter-declaration for '<FuncName>'
C1802: Must be static member
C1803: Illegal use of address of function compiled under the pragma REG_PROTOTYPE
C1804: Ident expected
C1805: Non standard conversion used
C1806: Illegal cast-operation
C1807: No conversion to non-base class
C1808: Too many nested switch-statements
C1809: Integer value for switch-expression expected
C1810: Label outside of switch-statement
C1811: Default-label twice defined
C1812: Case-label-value already present
C1813: Division by zero
C1814: Arithmetic or pointer-expression expected
C1815: <Name> not declared (or typename)
C1816: Unknown struct- or union-member
C1817: Parameter cannot be converted to non-constant reference
C1819: Constructor call with wrong number of arguments
C1820: Destructor call must have 'void' formal parameter list
C1821: Wrong number of arguments
C1822: Type mismatch
C1823: Undefining an implicit parameter-declaration
C1824: Indirection to different types
C1825: Indirection to different types
C1826: Integer-expression expected
C1827: Arithmetic types expected
C1828: Illegal pointer-subtraction
C1829: + - incompatible Types
C1830: Modifiable lvalue expected
C1831: Wrong type or not an lvalue
C1832: Const object cannot get incremented
C1833: Cannot take address of this object
C1834: Indirection applied to non-pointer
C1835: Arithmetic operand expected
C1836: Integer-operand expected
C1837: Arithmetic type or pointer expected
C1838: Unknown object-size: sizeof (incomplete type)
C1839: Variable of type struct or union expected
C1840: Pointer to struct or union expected
C1842: [ incompatible types
C1843: Switch-expression: integer required
C1844: Call-operator applied to non-function
C1845: Constant integer-value expected
C1846: Continue outside of iteration-statement
C1847: Break outside of switch or iteration-statement
C1848: Return <expression> expected
C1849: Result returned in void-result-function
C1850: Incompatible pointer operands
C1851: Incompatible types
C1852: Illegal sizeof operand
C1853: Unary minus operator applied to unsigned type
C1854: Returning address of local variable
C1855: Recursive function call
C1856: Return <expression> expected
C1857: Access out of range
C1858: Partial implicit parameter-declaration
C1859: Indirection operator is illegal on Pointer To Member operands
C1860: Pointer conversion: possible loss of data
C1861: Illegal use of type 'void'
C2000: No constructor available
C2001: Illegal type assigned to reference.
C2004: Non-volatile reference initialization with volatile illegal
C2005: Non-constant reference initialization with constant illegal
C2006: (un)signed char reference must be const for init with char
C2007: Cannot create temporary for reference in class/struct
C2008: Too many arguments for member initialization
C2009: No call target found!
C2010: <Name> is ambiguous
C2011: <Name> can not be accessed
C2012: Only exact match allowed yet or ambiguous!
C2013: No access to special member of base class
C2014: No access to special member of member class
C2015: Template is used with the wrong number of arguments
C2016: Wrong type of template argument
C2017: Use of incomplete template class
C2018: Generate class/struct from template
C2019: Generate function from template
C2020: Template parameter not used in function parameter list
C2021: Generate NULL-check for class pointer
C2022: Pure virtual can be called only using explicit scope resolution
C2023: Missing default parameter
C2024: Overloaded operators cannot have default arguments
C2025: Default argument expression can only contain static or global objects or constants
C2200: Reference object type must be const
C2201: Initializers have too many dimensions
C2202: Too many initializers for global Ctor arguments
C2203: Too many initializers for Ctor arguments
C2204: Illegal reinitialization
C2205: Incomplete struct/union, object can not be initialized
C2206: Illegal initialization of aggregate type
C2207: Initializer must be constant
C2209: Illegal reference initialization
C2210: Illegal initialization of non-aggregate type
C2211: Initialization of a function
C2212: Initializer may be not constant
C2401: Pragma <ident> expected
C2402: Variable <Ident> <State>
C2450: Expected:
C2550: Too many nested scopes
C2700: Too many numbers
C2701: Illegal floating-point number
C2702: Number too large for float
C2703: Illegal character in float number
C2704: Illegal number
C2705: Possible loss of data
C2706: Octal Number
C2707: Number too large
C2708: Illegal digit
C2709: Illegal floating-point exponent ('-', '+' or digit expected)
C2800: Illegal operator
C2801: <Symbol> missing"
C2802: Illegal character found: <Character>
C2803: Limitation: Parser was going out of sync!
C2900: Constant condition found, removing loop
C2901: Unrolling loop
C3000: File-stack-overflow (recursive include?)
C3100: Flag stack overflow -- flag ignored
C3200: Source file too big
C3201: Carriage-Return without a Line-Feed was detected
C3202: Ident too long
C3300: String buffer overflow
C3301: Concatenated string too long
C3302: Preprocessor-number buffer overflow
C3303: Implicit concatenation of strings
C3304: Too many internal ids, split up compilation unit
C3400: Cannot initialize object (destination too small)
C3401: Resulting string is not zero terminated
C3500: Not supported fixup-type for ELF-Output occurred
C3501: ELF Error <Description>
C3600: Function has no code: remove it!
C3601: Pragma TEST_CODE: mode <Mode>, size given <Size> expected <Size>, hashcode given <HashCode>, expected <HashCode>
C3602: Global objects: <Number>, Data Size (RAM): <Size>, Const Data Size (ROM): <Size>
C3603: Static '<Function>' was not defined
C3604: Static '<Object>' was not referenced
C3605: Runtime object '<Object>' is used at PC <PC>
C3606: Initializing object '<Object>'
C3700: Special opcode too large
C3701: Too many attributes for DWARF2.0 Output
C3800: Segment name already used
C3801: Segment already used with different attributes
C3802: Segment pragma incorrect
C3803: Illegal Segment Attribute
C3804: Predefined segment '<segmentName>' used
C3900: Return value too large
C4000: Condition always is TRUE
C4001: Condition always is FALSE
C4002: Result not used
C4003: Shift count converted to unsigned char
C4004: BitSet/BitClr bit number converted to unsigned char
C4006: Expression too complex
C4007: Pointer deref is NOT allowed
C4100: Converted bit field signed -1 to 1 in comparison
C4101: Address of bitfield is illegal
C4200: Other segment than in previous declaration
C4201: pragma <name> was not handled
C4202: Invalid pragma OPTION,
C4203: Invalid pragma MESSAGE,
C4204: Invalid pragma REALLOC_OBJ,
C4205: Invalid pragma LINK_INFO,
C4206: pragma pop found without corresponding pragma push
C4207: Invalid pragma pop,
C4208: Invalid pragma push,
C4209: Usage: pragma align (on|off),
C4300: Call of an empty function removed
C4301: Inline expansion done for function call
C4302: Could not generate inline expansion for this function call
C4303: Illegal pragma <name>
C4400: Comment not closed
C4401: Recursive comments not allowed
C4402: Redefinition of existing macro '<MacroName>'
C4403: Macro-buffer overflow
C4404: Macro parents not closed
C4405: Include-directive followed by illegal symbol
C4406: Closing '>' missing
C4407: Illegal character in string or closing '>' missing
C4408: Filename too long
C4409: a ## b: the concatenation of a and b is not a legal symbol
C4410: Unbalanced Parentheses
C4411: Maximum number of arguments for macro expansion reached
C4412: Maximum macro expansion level reached
C4413: Assertion: pos failed
C4414: Argument of macro expected
C4415: ')' expected
C4416: Comma expected
C4417: Mismatch number of formal, number of actual parameters
C4418: Illegal escape sequence
C4419: Closing ì missing
C4420: Illegal character in string or closing " missing
C4421: String too long
C4422: ' missing
C4423: Number too long
C4424: # in substitution list must be followed by name of formal parameter
C4425: ## in substitution list must be preceded and followed by a symbol
C4426: Macro must be a name
C4427: Parameter name expected
C4428: Maximum macro arguments for declaration reached
C4429: Macro name expected
C4430: Include macro does not expand to string
C4431: Include "filename" expected
C4432: Macro expects '('
C4433: Defined <name> expected
C4434: Closing ')' missing
C4435: Illegal expression in conditional expression
C4436: Name expected
C4437: Error-directive found: <message>
C4438: Endif-directive missing
C4439: Source file <file> not found
C4440: Unknown directive: <directive>
C4441: Preprocessor output file <file> could not be opened
C4442: Endif-directive missing
C4443: Undefined Macro 'MacroName' is taken as 0
C4444: Line number for line directive must be > 0 and <= 32767
C4445: Line number for line directive expected
C4446: Missing macro argument(s)
C4447: Unexpected tokens following preprocessor directive - expected a newline
C4448: Warning-directive found: <message>
C4449: Exceeded preprocessor if level of 4092
C4450: Multi-character character constant
C4700: Illegal pragma TEST_ERROR
C4701: pragma TEST_ERROR: Message <ErrorNumber> did not occur
C4800: Implicit cast in assignment
C4801: Too many initializers
C4802: String-initializer too large
C4900: Function differs in return type only
C5000: Following condition fails: sizeof(char) <= sizeof(short) <= sizeof(int) <= sizeof(long) <= sizeof(long long)
C5001: Following condition fails: sizeof(float) <= sizeof(double) <= sizeof(long double) <= sizeof(long long double)
C5002: Illegal type
C5003: Unknown array-size
C5004: Unknown struct-union-size
C5005: PACE illegal type
C5006: Illegal type settings for HIWARE Object File Format
C5100: Code size too large
C5200: 'FileName' file not found
C5250: Error in type settings: <Msg>
C5300: Limitation: code size '<actualSize>' > '<limitSize>' bytes
C5302: Couldn't open the object file <Descr>
C5320: Cannot open logfile '<FileName>'
C5350: Wrong or invalid encrypted file '<File>' (<MagicValue>)
C5351: Wrong encryption file version: '<File>' (<Version>)
C5352: Cannot build encryption destination file: '<FileSpec>'
C5353: Cannot open encryption source file: '<File>'
C5354: Cannot open encryption destination file: '<File>'
C5355: Encryption source '<SrcFile>' and destination file '<DstFile>' are the same
C5356: No valid license for encryption support
C5400: Internal data structure inconsistency (SSA)
C5401: Internal optimized data structure inconsistency (SSA)
C5403: Trying to take address of register
C5500: Incompatible pointer operation
C5650: Too many locations, try to split up function
C5651: Local variable <variable> may be not initialized
C5660: Removed dead code
C5700: Internal Error <ErrorNumber> in '<Module>', please report to <Producer>
C5701: Internal Error #<ErrorNumber> in '<Module>' while compiling file '<File>, procedure '<Function>', please report to <Producer>
C5702: Local variable '<Variable>' declared in function '<Function>' but not referenced
C5703: Parameter '<Parameter>' declared in function '<Function>' but not referenced
C5800: User requested stop
C5900: Result is zero
C5901: Result is one
C5902: Shift count is zero
C5903: Zero modulus
C5904: Division by one
C5905: Multiplication with one
C5906: Subtraction with zero
C5907: Addition replaced with shift
C5908: Constant switch expression
C5909: Assignment in condition
C5910: Label removed
C5911: Division by zero at runtime
C5912: Code in 'if' and 'else' part are the same
C5913: Conditions of 'if' and 'else if' are the same
C5914: Conditions of 'if' and 'else if' are inverted
C5915: Nested 'if' with same conditions
C5916: Nested 'if' with inverse conditions
C5917: Removed dead assignment
C5918: Removed dead goto
C5919: Conversion of floating to unsigned integral
C5920: Optimize library function <function>
C5921: Shift count out of range
C6000: Creating Asm Include File <file>
C6001: Could not Open Asm Include File because of <reason>
C6002: Illegal pragma CREATE_ASM_LISTING because of <reason>
Messages of HC08 Back End
C18000: Label not set
C18001: Incompatible memory model (banked memory model) for the chosen derivative
C18002: Pointer conversion not supported
C18003: _linear pointer to object in non-LINEAR CONST_SEG [Object addresses extended]
C18100: Number expected
C18004: MMU can be used for HCS08 derivatives only
C18005: Unsupported pointer qualifier combination for function pointer
C18101: Object is not a field
C18102: Object is not a structure
C18103: Factor expected
C18104: `}' expected
C18105: Unexpected `@'
C18107: Illegal operands
C18108: Address expected
C18109: `!' expected
C18110: Comma expected
C18111: Constant expected
C18112: Bitno range expected
C18113: Bitno expected
C18114: Bitno expected
C18115: `{` expected
C18116: `}' or register expected
C18117: Immedsiate/ Global address expected
C18118: Label expected
C18119: Illegal frame specifier
C18120: :Operator not allowed
C18121: Object offset for X allowed only
C18122: Immediate or label expected
C18123: end of the line expected
C18124: Immediate expected
C18125: Invalid opcode or `:' expected
C18126: Symbol redefined
C18127: Label, instruction, or directive expected
C18602: Displacement too large
C18700: Unknown Opcode Operand Combination: Opc.:<Instr>/Dest.:<mode>/Source:<mode>.
C18701: Unknown Opcode
C18702: Bitfield width exceeds 16
C20000: Dead code detected.
C20001: Different value of stackpointer depending on control-flow.
C20062: Ignored directive
C20085: Not a valid constant
C20099: Cannot take address difference between local varaiables
C20100: Out of spill locations: Reduce ? - expression
C20110: Danger: access below stack pointer.