MWCC/includes/compiler/CError.h

663 lines
23 KiB
C
Raw Normal View History

2022-10-25 19:30:28 +00:00
#ifndef COMPILER_CERROR_H
#define COMPILER_CERROR_H
#include "compiler/common.h"
2022-12-29 12:32:55 +00:00
#define CError_ASSERT(line, cond) if (!(cond)) { CError_Internal(__FILE__, line); }
#define CError_FAIL(line, cond) if (cond) { CError_Internal(__FILE__, line); }
#define CError_FATAL(line) do { CError_Internal(__FILE__, line); } while (0)
2022-10-25 19:30:28 +00:00
enum {
2023-01-11 22:29:53 +00:00
// "illegal character constant"
2022-10-25 19:30:28 +00:00
CErrorStr100 = 100,
2023-01-11 22:29:53 +00:00
// "illegal string constant"
2022-10-25 19:30:28 +00:00
CErrorStr101 = 101,
2023-01-11 22:29:53 +00:00
// "unexpected end of file"
2022-10-25 19:30:28 +00:00
CErrorStr102 = 102,
2023-01-11 22:29:53 +00:00
// "unterminated comment"
2022-10-25 19:30:28 +00:00
CErrorStr103 = 103,
2023-01-11 22:29:53 +00:00
// "undefined preprocessor directive"
2022-10-25 19:30:28 +00:00
CErrorStr104 = 104,
2023-01-11 22:29:53 +00:00
// "illegal token"
2022-10-25 19:30:28 +00:00
CErrorStr105 = 105,
2023-01-11 22:29:53 +00:00
// "string too long"
2022-10-25 19:30:28 +00:00
CErrorStr106 = 106,
2023-01-11 22:29:53 +00:00
// "identifier expected"
2022-10-25 19:30:28 +00:00
CErrorStr107 = 107,
2023-01-11 22:29:53 +00:00
// "macro '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr108 = 108,
2023-01-11 22:29:53 +00:00
// "illegal argument list"
2022-10-25 19:30:28 +00:00
CErrorStr109 = 109,
2023-01-11 22:29:53 +00:00
// "too many macro arguments"
2022-10-25 19:30:28 +00:00
CErrorStr110 = 110,
2023-01-11 22:29:53 +00:00
// "macro(s) too complex"
2022-10-25 19:30:28 +00:00
CErrorStr111 = 111,
2023-01-11 22:29:53 +00:00
// "unexpected end of line"
2022-10-25 19:30:28 +00:00
CErrorStr112 = 112,
2023-01-11 22:29:53 +00:00
// "end of line expected"
2022-10-25 19:30:28 +00:00
CErrorStr113 = 113,
2023-01-11 22:29:53 +00:00
// "'(' expected"
2022-10-25 19:30:28 +00:00
CErrorStr114 = 114,
2023-01-11 22:29:53 +00:00
// "')' expected"
2022-10-25 19:30:28 +00:00
CErrorStr115 = 115,
2023-01-11 22:29:53 +00:00
// "',' expected"
2022-10-25 19:30:28 +00:00
CErrorStr116 = 116,
2023-01-11 22:29:53 +00:00
// "preprocessor syntax error"
2022-10-25 19:30:28 +00:00
CErrorStr117 = 117,
2023-01-11 22:29:53 +00:00
// "preceding #if is missing"
2022-10-25 19:30:28 +00:00
CErrorStr118 = 118,
2023-01-11 22:29:53 +00:00
// "unterminated #if / macro"
2022-10-25 19:30:28 +00:00
CErrorStr119 = 119,
2023-01-11 22:29:53 +00:00
// "unexpected token"
2022-10-25 19:30:28 +00:00
CErrorStr120 = 120,
2023-01-11 22:29:53 +00:00
// "declaration syntax error"
2022-10-25 19:30:28 +00:00
CErrorStr121 = 121,
2023-01-11 22:29:53 +00:00
// "identifier '%u' redeclared"
2022-10-25 19:30:28 +00:00
CErrorStr122 = 122,
2023-01-11 22:29:53 +00:00
// "';' expected"
2022-10-25 19:30:28 +00:00
CErrorStr123 = 123,
2023-01-11 22:29:53 +00:00
// "illegal constant expression"
2022-10-25 19:30:28 +00:00
CErrorStr124 = 124,
2023-01-11 22:29:53 +00:00
// "']' expected"
2022-10-25 19:30:28 +00:00
CErrorStr125 = 125,
2023-01-11 22:29:53 +00:00
// "illegal use of 'void'"
2022-10-25 19:30:28 +00:00
CErrorStr126 = 126,
2023-01-11 22:29:53 +00:00
// "illegal function definition"
2022-10-25 19:30:28 +00:00
CErrorStr127 = 127,
2023-01-11 22:29:53 +00:00
// "illegal function return type"
2022-10-25 19:30:28 +00:00
CErrorStr128 = 128,
2023-01-11 22:29:53 +00:00
// "illegal array definition"
2022-10-25 19:30:28 +00:00
CErrorStr129 = 129,
2023-01-11 22:29:53 +00:00
// "'}' expected"
2022-10-25 19:30:28 +00:00
CErrorStr130 = 130,
2023-01-11 22:29:53 +00:00
// "illegal struct/union/enum/class definition"
2022-10-25 19:30:28 +00:00
CErrorStr131 = 131,
2023-01-11 22:29:53 +00:00
// "struct/union/enum/class tag '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr132 = 132,
2023-01-11 22:29:53 +00:00
// "struct/union/class member '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr133 = 133,
2023-01-11 22:29:53 +00:00
// "declarator expected"
2022-10-25 19:30:28 +00:00
CErrorStr134 = 134,
2023-01-11 22:29:53 +00:00
// "'{' expected"
2022-10-25 19:30:28 +00:00
CErrorStr135 = 135,
2023-01-11 22:29:53 +00:00
// "illegal use of incomplete struct/union/class '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr136 = 136,
2023-01-11 22:29:53 +00:00
// "struct/union/class size exceeds 32K"
2022-10-25 19:30:28 +00:00
CErrorStr137 = 137,
2023-01-11 22:29:53 +00:00
// "illegal bitfield declaration"
2022-10-25 19:30:28 +00:00
CErrorStr138 = 138,
2023-01-11 22:29:53 +00:00
// "division by 0"
2022-10-25 19:30:28 +00:00
CErrorStr139 = 139,
2023-01-11 22:29:53 +00:00
// "undefined identifier '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr140 = 140,
2023-01-11 22:29:53 +00:00
// "expression syntax error"
2022-10-25 19:30:28 +00:00
CErrorStr141 = 141,
2023-01-11 22:29:53 +00:00
// "not an lvalue"
2022-10-25 19:30:28 +00:00
CErrorStr142 = 142,
2023-01-11 22:29:53 +00:00
// "illegal operation"
2022-10-25 19:30:28 +00:00
CErrorStr143 = 143,
2023-01-11 22:29:53 +00:00
// "illegal operand"
2022-10-25 19:30:28 +00:00
CErrorStr144 = 144,
2023-01-11 22:29:53 +00:00
// "data type is incomplete"
2022-10-25 19:30:28 +00:00
CErrorStr145 = 145,
2023-01-11 22:29:53 +00:00
// "illegal type"
2022-10-25 19:30:28 +00:00
CErrorStr146 = 146,
2023-01-11 22:29:53 +00:00
// "too many initializers"
2022-10-25 19:30:28 +00:00
CErrorStr147 = 147,
2023-01-11 22:29:53 +00:00
// "pointer/array required"
2022-10-25 19:30:28 +00:00
CErrorStr148 = 148,
2023-01-11 22:29:53 +00:00
// "not a struct/union/class"
2022-10-25 19:30:28 +00:00
CErrorStr149 = 149,
2023-01-11 22:29:53 +00:00
// "'%u' is not a struct/union/class member"
2022-10-25 19:30:28 +00:00
CErrorStr150 = 150,
2023-01-11 22:29:53 +00:00
// "the file '%u' cannot be opened"
2022-10-25 19:30:28 +00:00
CErrorStr151 = 151,
2023-01-11 22:29:53 +00:00
// "illegal instruction for this processor"
2022-10-25 19:30:28 +00:00
CErrorStr152 = 152,
2023-01-11 22:29:53 +00:00
// "illegal operands for this processor"
2022-10-25 19:30:28 +00:00
CErrorStr153 = 153,
2023-01-11 22:29:53 +00:00
// "number is out of range"
2022-10-25 19:30:28 +00:00
CErrorStr154 = 154,
2023-01-11 22:29:53 +00:00
// "illegal addressing mode"
2022-10-25 19:30:28 +00:00
CErrorStr155 = 155,
2023-01-11 22:29:53 +00:00
// "illegal data size"
2022-10-25 19:30:28 +00:00
CErrorStr156 = 156,
2023-01-11 22:29:53 +00:00
// "illegal register list"
2022-10-25 19:30:28 +00:00
CErrorStr157 = 157,
2023-01-11 22:29:53 +00:00
// "branch out of range"
2022-10-25 19:30:28 +00:00
CErrorStr158 = 158,
2023-01-11 22:29:53 +00:00
// "undefined label '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr159 = 159,
2023-01-11 22:29:53 +00:00
// "reference to label '%u' is out of range"
2022-10-25 19:30:28 +00:00
CErrorStr160 = 160,
2023-01-11 22:29:53 +00:00
// "call of non-function"
2022-10-25 19:30:28 +00:00
CErrorStr161 = 161,
2023-01-11 22:29:53 +00:00
// "function call does not match prototype"
2022-10-25 19:30:28 +00:00
CErrorStr162 = 162,
2023-01-11 22:29:53 +00:00
// "illegal use of register variable"
2022-10-25 19:30:28 +00:00
CErrorStr163 = 163,
2023-01-11 22:29:53 +00:00
// "illegal type cast"
2022-10-25 19:30:28 +00:00
CErrorStr164 = 164,
2023-01-11 22:29:53 +00:00
// "function already has a stackframe"
2022-10-25 19:30:28 +00:00
CErrorStr165 = 165,
2023-01-11 22:29:53 +00:00
// "function has no initialized stackframe"
2022-10-25 19:30:28 +00:00
CErrorStr166 = 166,
2023-01-11 22:29:53 +00:00
// "value is not stored in register"
2022-10-25 19:30:28 +00:00
CErrorStr167 = 167,
2023-01-11 22:29:53 +00:00
// "function nesting too complex"
2022-10-25 19:30:28 +00:00
CErrorStr168 = 168,
2023-01-11 22:29:53 +00:00
// "illegal use of keyword"
2022-10-25 19:30:28 +00:00
CErrorStr169 = 169,
2023-01-11 22:29:53 +00:00
// "':' expected"
2022-10-25 19:30:28 +00:00
CErrorStr170 = 170,
2023-01-11 22:29:53 +00:00
// "label '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr171 = 171,
2023-01-11 22:29:53 +00:00
// "case constant defined more than once"
2022-10-25 19:30:28 +00:00
CErrorStr172 = 172,
2023-01-11 22:29:53 +00:00
// "default label defined more than once"
2022-10-25 19:30:28 +00:00
CErrorStr173 = 173,
2023-01-11 22:29:53 +00:00
// "illegal initialization"
2022-10-25 19:30:28 +00:00
CErrorStr174 = 174,
2023-01-11 22:29:53 +00:00
// "illegal use of inline function"
2022-10-25 19:30:28 +00:00
CErrorStr175 = 175,
2023-01-11 22:29:53 +00:00
// "illegal type qualifier(s)"
2022-10-25 19:30:28 +00:00
CErrorStr176 = 176,
2023-01-11 22:29:53 +00:00
// "illegal storage class"
2022-10-25 19:30:28 +00:00
CErrorStr177 = 177,
2023-01-11 22:29:53 +00:00
// "function has no prototype"
2022-10-25 19:30:28 +00:00
CErrorStr178 = 178,
2023-01-11 22:29:53 +00:00
// "illegal assignment to constant"
2022-10-25 19:30:28 +00:00
CErrorStr179 = 179,
2023-01-11 22:29:53 +00:00
// "illegal use of precompiled header"
2022-10-25 19:30:28 +00:00
CErrorStr180 = 180,
2023-01-11 22:29:53 +00:00
// "illegal data in precompiled header"
2022-10-25 19:30:28 +00:00
CErrorStr181 = 181,
2023-01-11 22:29:53 +00:00
// "variable / argument '%u' is not used in function"
2022-10-25 19:30:28 +00:00
CErrorStr182 = 182,
2023-01-11 22:29:53 +00:00
// "illegal use of direct parameters"
2022-10-25 19:30:28 +00:00
CErrorStr183 = 183,
2023-01-11 22:29:53 +00:00
// "return value expected"
2022-10-25 19:30:28 +00:00
CErrorStr184 = 184,
2023-01-11 22:29:53 +00:00
// "variable '%u' is not initialized before being used"
2022-10-25 19:30:28 +00:00
CErrorStr185 = 185,
2023-01-11 22:29:53 +00:00
// "illegal #pragma"
2022-10-25 19:30:28 +00:00
CErrorStr186 = 186,
2023-01-11 22:29:53 +00:00
// "illegal access to protected/private member"
2022-10-25 19:30:28 +00:00
CErrorStr187 = 187,
2023-01-11 22:29:53 +00:00
// "ambiguous access to class/struct/union member"
2022-10-25 19:30:28 +00:00
CErrorStr188 = 188,
2023-01-11 22:29:53 +00:00
// "illegal use of 'this'"
2022-10-25 19:30:28 +00:00
CErrorStr189 = 189,
2023-01-11 22:29:53 +00:00
// "unimplemented C++ feature"
2022-10-25 19:30:28 +00:00
CErrorStr190 = 190,
2023-01-11 22:29:53 +00:00
// "illegal use of 'HandleObject'"
2022-10-25 19:30:28 +00:00
CErrorStr191 = 191,
2023-01-11 22:29:53 +00:00
// "illegal access qualifier"
2022-10-25 19:30:28 +00:00
CErrorStr192 = 192,
2023-01-11 22:29:53 +00:00
// "illegal 'operator' declaration"
2022-10-25 19:30:28 +00:00
CErrorStr193 = 193,
2023-01-11 22:29:53 +00:00
// "illegal use of abstract class ('%o')"
2022-10-25 19:30:28 +00:00
CErrorStr194 = 194,
2023-01-11 22:29:53 +00:00
// "illegal use of pure function"
2022-10-25 19:30:28 +00:00
CErrorStr195 = 195,
2023-01-11 22:29:53 +00:00
// "illegal '&' reference"
2022-10-25 19:30:28 +00:00
CErrorStr196 = 196,
2023-01-11 22:29:53 +00:00
// "illegal function overloading"
2022-10-25 19:30:28 +00:00
CErrorStr197 = 197,
2023-01-11 22:29:53 +00:00
// "illegal operator overloading"
2022-10-25 19:30:28 +00:00
CErrorStr198 = 198,
2023-01-11 22:29:53 +00:00
// "ambiguous access to overloaded function "
2022-10-25 19:30:28 +00:00
CErrorStr199 = 199,
2023-01-11 22:29:53 +00:00
// "illegal access/using declaration"
2022-10-25 19:30:28 +00:00
CErrorStr200 = 200,
2023-01-11 22:29:53 +00:00
// "illegal 'friend' declaration"
2022-10-25 19:30:28 +00:00
CErrorStr201 = 201,
2023-01-11 22:29:53 +00:00
// "illegal 'inline' function definition"
2022-10-25 19:30:28 +00:00
CErrorStr202 = 202,
2023-01-11 22:29:53 +00:00
// "class has no default constructor"
2022-10-25 19:30:28 +00:00
CErrorStr203 = 203,
2023-01-11 22:29:53 +00:00
// "illegal operator"
2022-10-25 19:30:28 +00:00
CErrorStr204 = 204,
2023-01-11 22:29:53 +00:00
// "illegal default argument(s)"
2022-10-25 19:30:28 +00:00
CErrorStr205 = 205,
2023-01-11 22:29:53 +00:00
// "possible unwanted ';'"
2022-10-25 19:30:28 +00:00
CErrorStr206 = 206,
2023-01-11 22:29:53 +00:00
// "possible unwanted assignment"
2022-10-25 19:30:28 +00:00
CErrorStr207 = 207,
2023-01-11 22:29:53 +00:00
// "possible unwanted compare"
2022-10-25 19:30:28 +00:00
CErrorStr208 = 208,
2023-01-11 22:29:53 +00:00
// "illegal implicit conversion from '%t' to\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr209 = 209,
2023-01-11 22:29:53 +00:00
// "local data >32k"
2022-10-25 19:30:28 +00:00
CErrorStr210 = 210,
2023-01-11 22:29:53 +00:00
// "illegal jump past initializer"
2022-10-25 19:30:28 +00:00
CErrorStr211 = 211,
2023-01-11 22:29:53 +00:00
// "illegal ctor initializer"
2022-10-25 19:30:28 +00:00
CErrorStr212 = 212,
2023-01-11 22:29:53 +00:00
// "cannot construct %t's base class '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr213 = 213,
2023-01-11 22:29:53 +00:00
// "cannot construct %t's direct member '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr214 = 214,
2023-01-11 22:29:53 +00:00
// "#if nesting overflow"
2022-10-25 19:30:28 +00:00
CErrorStr215 = 215,
2023-01-11 22:29:53 +00:00
// "illegal empty declaration"
2022-10-25 19:30:28 +00:00
CErrorStr216 = 216,
2023-01-11 22:29:53 +00:00
// "illegal implicit enum conversion from '%t' to\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr217 = 217,
2023-01-11 22:29:53 +00:00
// "illegal use of #pragma parameter"
2022-10-25 19:30:28 +00:00
CErrorStr218 = 218,
2023-01-11 22:29:53 +00:00
// "virtual functions cannot be pascal functions"
2022-10-25 19:30:28 +00:00
CErrorStr219 = 219,
2023-01-11 22:29:53 +00:00
// "illegal implicit const/volatile pointer conversion from '%t' to\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr220 = 220,
2023-01-11 22:29:53 +00:00
// "illegal use of non-static member"
2022-10-25 19:30:28 +00:00
CErrorStr221 = 221,
2023-01-11 22:29:53 +00:00
// "illegal precompiled header version"
2022-10-25 19:30:28 +00:00
CErrorStr222 = 222,
2023-01-11 22:29:53 +00:00
// "illegal precompiled header compiler flags or target"
2022-10-25 19:30:28 +00:00
CErrorStr223 = 223,
2023-01-11 22:29:53 +00:00
// "'const' or '&' variable needs initializer"
2022-10-25 19:30:28 +00:00
CErrorStr224 = 224,
2023-01-11 22:29:53 +00:00
// "'%o' hides inherited virtual function '%o'"
2022-10-25 19:30:28 +00:00
CErrorStr225 = 225,
2023-01-11 22:29:53 +00:00
// "pascal function cannot be overloaded"
2022-10-25 19:30:28 +00:00
CErrorStr226 = 226,
2023-01-11 22:29:53 +00:00
// "derived function differs from virtual base function in return type only"
2022-10-25 19:30:28 +00:00
CErrorStr227 = 227,
2023-01-11 22:29:53 +00:00
// "non-const '&' reference initialized to temporary"
2022-10-25 19:30:28 +00:00
CErrorStr228 = 228,
2023-01-11 22:29:53 +00:00
// "illegal template declaration"
2022-10-25 19:30:28 +00:00
CErrorStr229 = 229,
2023-01-11 22:29:53 +00:00
// "'<' expected"
2022-10-25 19:30:28 +00:00
CErrorStr230 = 230,
2023-01-11 22:29:53 +00:00
// "'>' expected"
2022-10-25 19:30:28 +00:00
CErrorStr231 = 231,
2023-01-11 22:29:53 +00:00
// "illegal template argument(s)"
2022-10-25 19:30:28 +00:00
CErrorStr232 = 232,
2023-01-11 22:29:53 +00:00
// "cannot instantiate '%o'"
2022-10-25 19:30:28 +00:00
CErrorStr233 = 233,
2023-01-11 22:29:53 +00:00
// "template redefined"
2022-10-25 19:30:28 +00:00
CErrorStr234 = 234,
2023-01-11 22:29:53 +00:00
// "template parameter mismatch"
2022-10-25 19:30:28 +00:00
CErrorStr235 = 235,
2023-01-11 22:29:53 +00:00
// "cannot pass const/volatile data object to non-const/volatile member function"
2022-10-25 19:30:28 +00:00
CErrorStr236 = 236,
2023-01-11 22:29:53 +00:00
// "preceding '#pragma push' is missing"
2022-10-25 19:30:28 +00:00
CErrorStr237 = 237,
2023-01-11 22:29:53 +00:00
// "illegal explicit template instantiation"
2022-10-25 19:30:28 +00:00
CErrorStr238 = 238,
2023-01-11 22:29:53 +00:00
// "illegal X::X(X) copy constructor"
2022-10-25 19:30:28 +00:00
CErrorStr239 = 239,
2023-01-11 22:29:53 +00:00
// "function defined 'inline' after being called"
2022-10-25 19:30:28 +00:00
CErrorStr240 = 240,
2023-01-11 22:29:53 +00:00
// "illegal constructor/destructor declaration"
2022-10-25 19:30:28 +00:00
CErrorStr241 = 241,
2023-01-11 22:29:53 +00:00
// "'catch' expected"
2022-10-25 19:30:28 +00:00
CErrorStr242 = 242,
2023-01-11 22:29:53 +00:00
// "#include nesting overflow"
2022-10-25 19:30:28 +00:00
CErrorStr243 = 243,
2023-01-11 22:29:53 +00:00
// "cannot convert\n'%t' to\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr244 = 244,
2023-01-11 22:29:53 +00:00
// "type mismatch\n'%t' and\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr245 = 245,
2023-01-11 22:29:53 +00:00
// "class type expected"
2022-10-25 19:30:28 +00:00
CErrorStr246 = 246,
2023-01-11 22:29:53 +00:00
// "illegal explicit conversion from '%t' to\n'%t'"
2022-10-25 19:30:28 +00:00
CErrorStr247 = 247,
2023-01-11 22:29:53 +00:00
// "function call '*' does not match"
2022-10-25 19:30:28 +00:00
CErrorStr248 = 248,
2023-01-11 22:29:53 +00:00
// "identifier '%u' redeclared\nwas declared as: '%t'\nnow declared as: '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr249 = 249,
2023-01-11 22:29:53 +00:00
// "cannot throw class with ambiguous base class ('%u')"
2022-10-25 19:30:28 +00:00
CErrorStr250 = 250,
2023-01-11 22:29:53 +00:00
// "class '%t': '%o' has more than one final overrider:\n'%o'\nand '%o'"
2022-10-25 19:30:28 +00:00
CErrorStr251 = 251,
2023-01-11 22:29:53 +00:00
// "exception handling option is disabled"
2022-10-25 19:30:28 +00:00
CErrorStr252 = 252,
2023-01-11 22:29:53 +00:00
// "cannot delete pointer to const"
2022-10-25 19:30:28 +00:00
CErrorStr253 = 253,
2023-01-11 22:29:53 +00:00
// "cannot destroy const object"
2022-10-25 19:30:28 +00:00
CErrorStr254 = 254,
2023-01-11 22:29:53 +00:00
// "const member '%u' is not initialized"
2022-10-25 19:30:28 +00:00
CErrorStr255 = 255,
2023-01-11 22:29:53 +00:00
// "'&' reference member '%u' is not initialized"
2022-10-25 19:30:28 +00:00
CErrorStr256 = 256,
2023-01-11 22:29:53 +00:00
// "RTTI option is disabled"
2022-10-25 19:30:28 +00:00
CErrorStr257 = 257,
2023-01-11 22:29:53 +00:00
// "constness casted away"
2022-10-25 19:30:28 +00:00
CErrorStr258 = 258,
2023-01-11 22:29:53 +00:00
// "illegal const/volatile '&' reference initialization"
2022-10-25 19:30:28 +00:00
CErrorStr259 = 259,
2023-01-11 22:29:53 +00:00
// "inconsistent linkage: 'extern' object redeclared as 'static'"
2022-10-25 19:30:28 +00:00
CErrorStr260 = 260,
2023-01-11 22:29:53 +00:00
// "unknown assembler instruction mnemonic"
2022-10-25 19:30:28 +00:00
CErrorStr261 = 261,
2023-01-11 22:29:53 +00:00
// "local data > 224 bytes"
2022-10-25 19:30:28 +00:00
CErrorStr262 = 262,
2023-01-11 22:29:53 +00:00
// "'%u' could not be assigned to a register"
2022-10-25 19:30:28 +00:00
CErrorStr263 = 263,
2023-01-11 22:29:53 +00:00
// "illegal exception specification"
2022-10-25 19:30:28 +00:00
CErrorStr264 = 264,
2023-01-11 22:29:53 +00:00
// "exception specification list mismatch"
2022-10-25 19:30:28 +00:00
CErrorStr265 = 265,
2023-01-11 22:29:53 +00:00
// "the parameter(s) of the '%n' function must be immediate value(s)"
2022-10-25 19:30:28 +00:00
CErrorStr266 = 266,
2023-01-11 22:29:53 +00:00
// "SOM classes can only inherit from other SOM based classes"
2022-10-25 19:30:28 +00:00
CErrorStr267 = 267,
2023-01-11 22:29:53 +00:00
// "SOM classes inhertiance must be virtual"
2022-10-25 19:30:28 +00:00
CErrorStr268 = 268,
2023-01-11 22:29:53 +00:00
// "SOM class data members must be private"
2022-10-25 19:30:28 +00:00
CErrorStr269 = 269,
2023-01-11 22:29:53 +00:00
// "illegal SOM function overload '%o'"
2022-10-25 19:30:28 +00:00
CErrorStr270 = 270,
2023-01-11 22:29:53 +00:00
// "no static members allowed in SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr271 = 271,
2023-01-11 22:29:53 +00:00
// "no parameters allowed in SOM class constructors"
2022-10-25 19:30:28 +00:00
CErrorStr272 = 272,
2023-01-11 22:29:53 +00:00
// "illegal SOM function parameters or return type"
2022-10-25 19:30:28 +00:00
CErrorStr273 = 273,
2023-01-11 22:29:53 +00:00
// "SOM runtime function '%u' not defined (should be defined in somobj.hh)"
2022-10-25 19:30:28 +00:00
CErrorStr274 = 274,
2023-01-11 22:29:53 +00:00
// "SOM runtime function '%u' has unexpected type"
2022-10-25 19:30:28 +00:00
CErrorStr275 = 275,
2023-01-11 22:29:53 +00:00
// "'%u' is not a SOM class"
2022-10-25 19:30:28 +00:00
CErrorStr276 = 276,
2023-01-11 22:29:53 +00:00
// "illegal use of #pragma outside of SOM class definition"
2022-10-25 19:30:28 +00:00
CErrorStr277 = 277,
2023-01-11 22:29:53 +00:00
// "introduced method '%o' is not specified in release order list"
2022-10-25 19:30:28 +00:00
CErrorStr278 = 278,
2023-01-11 22:29:53 +00:00
// "SOM class access qualification only allowed to direct parent or own class"
2022-10-25 19:30:28 +00:00
CErrorStr279 = 279,
2023-01-11 22:29:53 +00:00
// "SOM class must have one non-inline member function"
2022-10-25 19:30:28 +00:00
CErrorStr280 = 280,
2023-01-11 22:29:53 +00:00
// "SOM type '%u' undefined"
2022-10-25 19:30:28 +00:00
CErrorStr281 = 281,
2023-01-11 22:29:53 +00:00
// "new SOM callstyle method '%o' must have explicit 'Environment *' parameter"
2022-10-25 19:30:28 +00:00
CErrorStr282 = 282,
2023-01-11 22:29:53 +00:00
// "functions cannot return SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr283 = 283,
2023-01-11 22:29:53 +00:00
// "functions cannot have SOM class arguments"
2022-10-25 19:30:28 +00:00
CErrorStr284 = 284,
2023-01-11 22:29:53 +00:00
// "assignment is not supported for SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr285 = 285,
2023-01-11 22:29:53 +00:00
// "sizeof() is not supported for SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr286 = 286,
2023-01-11 22:29:53 +00:00
// "SOM classes cannot be class members"
2022-10-25 19:30:28 +00:00
CErrorStr287 = 287,
2023-01-11 22:29:53 +00:00
// "global SOM class objects are not supported"
2022-10-25 19:30:28 +00:00
CErrorStr288 = 288,
2023-01-11 22:29:53 +00:00
// "SOM class arrays are not supported"
2022-10-25 19:30:28 +00:00
CErrorStr289 = 289,
2023-01-11 22:29:53 +00:00
// "'pointer to member' is not supported for SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr290 = 290,
2023-01-11 22:29:53 +00:00
// "SOM class has no release order list"
2022-10-25 19:30:28 +00:00
CErrorStr291 = 291,
2023-01-11 22:29:53 +00:00
// "'%u' is not an Objective-C class"
2022-10-25 19:30:28 +00:00
CErrorStr292 = 292,
2023-01-11 22:29:53 +00:00
// "method '%m' redeclared"
2022-10-25 19:30:28 +00:00
CErrorStr293 = 293,
2023-01-11 22:29:53 +00:00
// "undefined method '%m'"
2022-10-25 19:30:28 +00:00
CErrorStr294 = 294,
2023-01-11 22:29:53 +00:00
// "class '%u' redeclared"
2022-10-25 19:30:28 +00:00
CErrorStr295 = 295,
2023-01-11 22:29:53 +00:00
// "class '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr296 = 296,
2023-01-11 22:29:53 +00:00
// "Objective-C type '%u' is undefined (should be defined in objc.h)"
2022-10-25 19:30:28 +00:00
CErrorStr297 = 297,
2023-01-11 22:29:53 +00:00
// "Objective-C type '%u' has unexpected type"
2022-10-25 19:30:28 +00:00
CErrorStr298 = 298,
2023-01-11 22:29:53 +00:00
// "method '%m' not defined"
2022-10-25 19:30:28 +00:00
CErrorStr299 = 299,
2023-01-11 22:29:53 +00:00
// "method '%m' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr300 = 300,
2023-01-11 22:29:53 +00:00
// "illegal use of 'self'"
2022-10-25 19:30:28 +00:00
CErrorStr301 = 301,
2023-01-11 22:29:53 +00:00
// "illegal use of 'super'"
2022-10-25 19:30:28 +00:00
CErrorStr302 = 302,
2023-01-11 22:29:53 +00:00
// "illegal message receiver"
2022-10-25 19:30:28 +00:00
CErrorStr303 = 303,
2023-01-11 22:29:53 +00:00
// "receiver cannot handle this message"
2022-10-25 19:30:28 +00:00
CErrorStr304 = 304,
2023-01-11 22:29:53 +00:00
// "ambiguous message selector\nused: '%m'\nalso had: '%m'"
2022-10-25 19:30:28 +00:00
CErrorStr305 = 305,
2023-01-11 22:29:53 +00:00
// "unknown message selector"
2022-10-25 19:30:28 +00:00
CErrorStr306 = 306,
2023-01-11 22:29:53 +00:00
// "illegal use of Objective-C object"
2022-10-25 19:30:28 +00:00
CErrorStr307 = 307,
2023-01-11 22:29:53 +00:00
// "protocol '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr308 = 308,
2023-01-11 22:29:53 +00:00
// "protocol '%u' is undefined"
2022-10-25 19:30:28 +00:00
CErrorStr309 = 309,
2023-01-11 22:29:53 +00:00
// "protocol '%u' is already in protocol list"
2022-10-25 19:30:28 +00:00
CErrorStr310 = 310,
2023-01-11 22:29:53 +00:00
// "category '%u' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr311 = 311,
2023-01-11 22:29:53 +00:00
// "category '%u' is undefined"
2022-10-25 19:30:28 +00:00
CErrorStr312 = 312,
2023-01-11 22:29:53 +00:00
// "illegal use of '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr313 = 313,
2023-01-11 22:29:53 +00:00
// "template too complex or recursive"
2022-10-25 19:30:28 +00:00
CErrorStr314 = 314,
2023-01-11 22:29:53 +00:00
// "illegal return value in void/constructor/destructor function"
2022-10-25 19:30:28 +00:00
CErrorStr315 = 315,
2023-01-11 22:29:53 +00:00
// "assigning a non-int numeric value to an unprototyped function"
2022-10-25 19:30:28 +00:00
CErrorStr316 = 316,
2023-01-11 22:29:53 +00:00
// "implicit arithmetic conversion from '%t' to '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr317 = 317,
2023-01-11 22:29:53 +00:00
// "preprocessor #error directive"
2022-10-25 19:30:28 +00:00
CErrorStr318 = 318,
2023-01-11 22:29:53 +00:00
// "ambiguous access to name found '%u' and '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr319 = 319,
2023-01-11 22:29:53 +00:00
// "illegal namespace"
2022-10-25 19:30:28 +00:00
CErrorStr320 = 320,
2023-01-11 22:29:53 +00:00
// "illegal use of namespace name"
2022-10-25 19:30:28 +00:00
CErrorStr321 = 321,
2023-01-11 22:29:53 +00:00
// "illegal name overloading"
2022-10-25 19:30:28 +00:00
CErrorStr322 = 322,
2023-01-11 22:29:53 +00:00
// "instance variable list does not match @interface"
2022-10-25 19:30:28 +00:00
CErrorStr323 = 323,
2023-01-11 22:29:53 +00:00
// "protocol list does not match @interface"
2022-10-25 19:30:28 +00:00
CErrorStr324 = 324,
2023-01-11 22:29:53 +00:00
// "super class does not match @interface"
2022-10-25 19:30:28 +00:00
CErrorStr325 = 325,
2023-01-11 22:29:53 +00:00
// "function result is a pointer/reference to an automatic variable"
2022-10-25 19:30:28 +00:00
CErrorStr326 = 326,
2023-01-11 22:29:53 +00:00
// "cannot allocate initialized objects in the scratchpad"
2022-10-25 19:30:28 +00:00
CErrorStr327 = 327,
2023-01-11 22:29:53 +00:00
// "illegal class member access"
2022-10-25 19:30:28 +00:00
CErrorStr328 = 328,
2023-01-11 22:29:53 +00:00
// "data object '%o' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr329 = 329,
2023-01-11 22:29:53 +00:00
// "illegal access to local variable from other function"
2022-10-25 19:30:28 +00:00
CErrorStr330 = 330,
2023-01-11 22:29:53 +00:00
// "illegal implicit member pointer conversion"
2022-10-25 19:30:28 +00:00
CErrorStr331 = 331,
2023-01-11 22:29:53 +00:00
// "typename redefined"
2022-10-25 19:30:28 +00:00
CErrorStr332 = 332,
2023-01-11 22:29:53 +00:00
// "object '%o' redefined"
2022-10-25 19:30:28 +00:00
CErrorStr333 = 333,
2023-01-11 22:29:53 +00:00
// "'main' not defined as external 'int main()' function"
2022-10-25 19:30:28 +00:00
CErrorStr334 = 334,
2023-01-11 22:29:53 +00:00
// "illegal explicit template specialization"
2022-10-25 19:30:28 +00:00
CErrorStr335 = 335,
2023-01-11 22:29:53 +00:00
// "name has not been declared in namespace/class"
2022-10-25 19:30:28 +00:00
CErrorStr336 = 336,
2023-01-11 22:29:53 +00:00
// "preprocessor #warning directive"
2022-10-25 19:30:28 +00:00
CErrorStr337 = 337,
2023-01-11 22:29:53 +00:00
// "illegal use of asm inline function"
2022-10-25 19:30:28 +00:00
CErrorStr338 = 338,
2023-01-11 22:29:53 +00:00
// "illegal use of C++ feature in EC++"
2022-10-25 19:30:28 +00:00
CErrorStr339 = 339,
2023-01-11 22:29:53 +00:00
// "illegal use template argument dependent type 'T::%u'"
2022-10-25 19:30:28 +00:00
CErrorStr340 = 340,
2023-01-11 22:29:53 +00:00
// "illegal use of alloca() in function argument"
2022-10-25 19:30:28 +00:00
CErrorStr341 = 341,
2023-01-11 22:29:53 +00:00
// "inline function call '%o' not inlined"
2022-10-25 19:30:28 +00:00
CErrorStr342 = 342,
2023-01-11 22:29:53 +00:00
// "inconsistent use of 'class' and 'struct' keywords"
2022-10-25 19:30:28 +00:00
CErrorStr343 = 343,
2023-01-11 22:29:53 +00:00
// "illegal partial specialization"
2022-10-25 19:30:28 +00:00
CErrorStr344 = 344,
2023-01-11 22:29:53 +00:00
// "illegal partial specialization argument list"
2022-10-25 19:30:28 +00:00
CErrorStr345 = 345,
2023-01-11 22:29:53 +00:00
// "ambiguous use of partial specialization"
2022-10-25 19:30:28 +00:00
CErrorStr346 = 346,
2023-01-11 22:29:53 +00:00
// "local classes shall not have member templates"
2022-10-25 19:30:28 +00:00
CErrorStr347 = 347,
2023-01-11 22:29:53 +00:00
// "illegal template argument dependent expression"
2022-10-25 19:30:28 +00:00
CErrorStr348 = 348,
2023-01-11 22:29:53 +00:00
// "implicit 'int' is no longer supported in C++"
2022-10-25 19:30:28 +00:00
CErrorStr349 = 349,
2023-01-11 22:29:53 +00:00
// "%i pad byte(s) inserted after data member '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr350 = 350,
2023-01-11 22:29:53 +00:00
// "pure function '%o' is not virtual"
2022-10-25 19:30:28 +00:00
CErrorStr351 = 351,
2023-01-11 22:29:53 +00:00
// "illegal virtual function '%o' in 'union'"
2022-10-25 19:30:28 +00:00
CErrorStr352 = 352,
2023-01-11 22:29:53 +00:00
// "cannot pass 'void' or 'function' parameter"
2022-10-25 19:30:28 +00:00
CErrorStr353 = 353,
2023-01-11 22:29:53 +00:00
// "illegal static const member '%u' initialization"
2022-10-25 19:30:28 +00:00
CErrorStr354 = 354,
2023-01-11 22:29:53 +00:00
// "'typename' is missing in template argument dependent qualified type"
2022-10-25 19:30:28 +00:00
CErrorStr355 = 355,
2023-01-11 22:29:53 +00:00
// "more than one expression in non-class type conversion"
2022-10-25 19:30:28 +00:00
CErrorStr356 = 356,
2023-01-11 22:29:53 +00:00
// "template non-type argument objects shall have external linkage"
2022-10-25 19:30:28 +00:00
CErrorStr357 = 357,
2023-01-11 22:29:53 +00:00
// "illegal inline assembly operand: %u"
2022-10-25 19:30:28 +00:00
CErrorStr358 = 358,
2023-01-11 22:29:53 +00:00
// "illegal or unsupported __attribute__"
2022-10-25 19:30:28 +00:00
CErrorStr359 = 359,
2023-01-11 22:29:53 +00:00
// "cannot create object file '%f'"
2022-10-25 19:30:28 +00:00
CErrorStr360 = 360,
2023-01-11 22:29:53 +00:00
// "error writing to object file '%f'"
2022-10-25 19:30:28 +00:00
CErrorStr361 = 361,
2023-01-11 22:29:53 +00:00
// "printf-family format string doesn't match arguments"
2022-10-25 19:30:28 +00:00
CErrorStr362 = 362,
2023-01-11 22:29:53 +00:00
// "scanf-family format string doesn't match arguments"
2022-10-25 19:30:28 +00:00
CErrorStr363 = 363,
2023-01-11 22:29:53 +00:00
// "__alignof__() is not supported for SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr364 = 364,
2023-01-11 22:29:53 +00:00
// "illegal macro argument name '%u'"
2022-10-25 19:30:28 +00:00
CErrorStr365 = 365,
2023-01-11 22:29:53 +00:00
// "case has an empty range of values"
2022-10-25 19:30:28 +00:00
CErrorStr366 = 366,
2023-01-11 22:29:53 +00:00
// "'long long' switch() is not supported"
2022-10-25 19:30:28 +00:00
CErrorStr367 = 367,
2023-01-11 22:29:53 +00:00
// "'long long' case range is not supported"
2022-10-25 19:30:28 +00:00
CErrorStr368 = 368,
2023-01-11 22:29:53 +00:00
// "expression has no side effect"
2022-10-25 19:30:28 +00:00
CErrorStr369 = 369,
2023-01-11 22:29:53 +00:00
// "result of function call is not used"
2022-10-25 19:30:28 +00:00
CErrorStr370 = 370,
2023-01-11 22:29:53 +00:00
// "illegal non-type template argument"
2022-10-25 19:30:28 +00:00
CErrorStr371 = 371,
2023-01-11 22:29:53 +00:00
// "illegal use of abstract class ('%t')"
2022-10-25 19:30:28 +00:00
CErrorStr372 = 372,
2023-01-11 22:29:53 +00:00
// "illegal use of 'template' prefix"
2022-10-25 19:30:28 +00:00
CErrorStr373 = 373,
2023-01-11 22:29:53 +00:00
// "template parameter/argument list mismatch"
2022-10-25 19:30:28 +00:00
CErrorStr374 = 374,
2023-01-11 22:29:53 +00:00
// "cannot find matching deallocation function for '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr375 = 375,
2023-01-11 22:29:53 +00:00
// "illegal operand '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr376 = 376,
2023-01-11 22:29:53 +00:00
// "illegal operands '%t' %u '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr377 = 377,
2023-01-11 22:29:53 +00:00
// "illegal use of default template-argument"
2022-10-25 19:30:28 +00:00
CErrorStr378 = 378,
2023-01-11 22:29:53 +00:00
// "illegal UUID syntax"
2022-10-25 19:30:28 +00:00
CErrorStr379 = 379,
2023-01-11 22:29:53 +00:00
// "__uuidof() is not supported for SOM classes"
2022-10-25 19:30:28 +00:00
CErrorStr380 = 380,
2023-01-11 22:29:53 +00:00
// "illegal access from '%t' to protected/private member '%o'"
2022-10-25 19:30:28 +00:00
CErrorStr381 = 381,
2023-01-11 22:29:53 +00:00
// "integral type is not large enough to hold pointer"
2022-10-25 19:30:28 +00:00
CErrorStr382 = 382,
2023-01-11 22:29:53 +00:00
// "unknown x86 assembler instruction mnemonic"
2022-10-25 19:30:28 +00:00
CErrorStr383 = 383,
2023-01-11 22:29:53 +00:00
// "illegal use of const/volatile function qualifier sequence"
2022-10-25 19:30:28 +00:00
CErrorStr384 = 384,
2023-01-11 22:29:53 +00:00
// "illegal optimization level for this limited version of CodeWarrior"
2022-10-25 19:30:28 +00:00
CErrorStr385 = 385,
2023-01-11 22:29:53 +00:00
// "no UUID defined for type '%t'"
2022-10-25 19:30:28 +00:00
CErrorStr386 = 386,
2023-01-11 22:29:53 +00:00
// "using implicit copy assigment for class with const or reference member ('%t')"
2022-10-25 19:30:28 +00:00
CErrorStr387 = 387,
2023-01-11 22:29:53 +00:00
// "unimplemented assembler instruction/directive"
2022-10-25 19:30:28 +00:00
CErrorStr388 = 388,
2023-01-11 22:29:53 +00:00
// "override of dllimport function '%u' only has application scope"
2022-10-25 19:30:28 +00:00
CErrorStr389 = 389,
2023-01-11 22:29:53 +00:00
// "illegal combination of operands in inline statement at line %i"
2022-10-25 19:30:28 +00:00
CErrorStr390 = 390,
2023-01-11 22:29:53 +00:00
// "illegal operand in inline statement at line %i"
2022-10-25 19:30:28 +00:00
CErrorStr391 = 391,
2023-01-11 22:29:53 +00:00
// "function call '*' is ambiguous"
2022-10-25 19:30:28 +00:00
CErrorStr392 = 392,
CErrorStrMAX = 393
};
typedef struct _CErrorBuffer {
char *start;
char *end;
UInt32 size;
UInt32 remaining;
} CErrorBuffer;
2022-11-07 03:06:21 +00:00
extern TStreamElement *cerror_locktoken;
extern char cerror_synchdata[32];
extern short cerror_synchoffset;
extern int CError_BreakPointcount;
2023-01-11 22:29:53 +00:00
extern void CError_Init(void);
2022-10-25 19:30:28 +00:00
extern void CError_SetErrorToken(TStreamElement *token);
2023-01-11 22:29:53 +00:00
extern void CError_SetNullErrorToken(void);
2022-10-25 19:30:28 +00:00
extern void CError_LockErrorPos(TStreamElement *token, TStreamElement **saved);
extern void CError_UnlockErrorPos(TStreamElement **saved);
2023-01-11 22:29:53 +00:00
extern void CError_ResetErrorSkip(void);
2022-10-25 19:30:28 +00:00
extern void CError_GetErrorString(char *buf, short code);
extern void CError_BufferInit(CErrorBuffer *eb, char *buf, SInt32 bufSize);
extern void CError_BufferGrow(CErrorBuffer *eb, SInt32 amount);
extern void CError_BufferAppendChar(CErrorBuffer *eb, char ch);
extern void CError_BufferAppendString(CErrorBuffer *eb, const char *str);
extern void CError_BufferTerminate(CErrorBuffer *eb);
extern void CError_BufferAppendQualifier(CErrorBuffer *eb, UInt32 qual);
extern void CError_BufferAppendTemplArgExpr(CErrorBuffer *eb, ENode *node);
extern void CError_BufferAppendTemplArg(CErrorBuffer *eb, TemplArg *targ);
extern void CError_BufferAppendTemplArgs(CErrorBuffer *eb, TemplArg *targs);
extern void CError_BufferAppendNameSpace(CErrorBuffer *eb, NameSpace *nspace);
extern void CError_BufferAppendPType(CErrorBuffer *eb, Type *ty);
extern void CError_BufferAppendTemplDepType(CErrorBuffer *eb, TypeTemplDep *type);
extern void CError_BufferAppendFuncArgs(CErrorBuffer *eb, TypeFunc *tfunc, Boolean isMethod);
extern void CError_BufferAppendType(CErrorBuffer *eb, Type *ty, UInt32 qual);
extern char *CError_GetTypeName(Type *ty, UInt32 qual, Boolean useGlobalHeap);
extern void CError_AppendUnqualFunctionName(CErrorBuffer *eb, NameSpace *nspace, HashNameNode *name, TypeFunc *tfunc);
extern void CError_AppendFunctionName(CErrorBuffer *eb, NameSpace *nspace, HashNameNode *name, TemplArg *templargs, TypeFunc *tfunc);
extern void CError_AppendObjectName(CErrorBuffer *eb, Object *obj);
extern void CError_AppendMethodName(CErrorBuffer *eb, ObjCMethod *meth);
extern char *CError_GetQualifiedName(NameSpace *nspace, HashNameNode *name);
extern char *CError_GetFunctionName(NameSpace *nspace, HashNameNode *name, TypeFunc *tfunc);
extern char *CError_GetObjectName(Object *obj);
extern char *CError_GetNameString(NameSpace *nspace, HashNameNode *operatorName);
extern void CError_ErrorMessage(int errTable, char *buf, Boolean flag1, Boolean flag2);
extern void CError_BufferAppendTemplateStack(CErrorBuffer *eb);
extern void CError_ErrorMessageVA(int code, const char *format, va_list list, Boolean flag1, Boolean flag2);
extern void CError_VAErrorMessage(int code, va_list list, Boolean flag1, Boolean flag2);
extern void CError_Error(int code, ...);
extern void CError_ErrorTerm(short code);
extern void CError_ErrorSkip(int code, ...);
extern void CError_ErrorFuncCall(short code, NameSpaceObjectList *args, ENodeList *argNodes);
extern void CError_OverloadedFunctionError2(Object *obj, ObjectList *olst, ENodeList *argNodes);
extern void CError_OverloadedFunctionError(Object *obj, ObjectList *olst);
extern void CError_AbstractClassError(TypeClass *tclass);
extern void CError_Warning(int code, ...);
extern void CError_BreakPoint(const char *a, const char *b);
2022-11-07 03:06:21 +00:00
extern void CError_Internal(char *filename, int line);
2023-01-11 22:29:53 +00:00
extern void CError_ExpressionTooComplex(void);
extern void CError_NoMem(void);
extern void CError_UserBreak(void);
extern void CError_CannotOpen(void);
2022-10-25 19:30:28 +00:00
extern void CError_QualifierCheck(UInt32 qual);
#endif