#define W_STACK_OVERFLOW 21 /* stack overflow */
#define E_NEED_ARRAY_PTR 22 /* array or pointer reqd*/
#define E_IDX_NOT_INT 23 /* index not an integer */
-#define E_ARRAY_BOUND 24 /* array limit exceeded */
+#define W_IDX_OUT_OF_BOUNDS 24 /* array index out of bounds */
#define E_STRUCT_UNION 25 /* struct,union expected*/
#define E_NOT_MEMBER 26 /* !struct/union member */
#define E_PTR_REQD 27 /* pointer required */
#define W_ILLEGAL_OPT_COMBINATION 162
#define E_DUPLICATE_MEMBER 163
#define E_STACK_VIOLATION 164 /* internal stack violation */
+#define W_INT_OVL 165 /* integer overflow in expression */
+#define W_USELESS_DECL 166 /* useless declaration */
+#define E_INT_BAD_INTNO 167 /* invalid interrupt number */
+#define W_BITFLD_NAMED 168 /* declarator used with 0 length bitfield */
+#define E_FUNC_ATTR 169 /* function attribute without function */
+#define W_SAVE_RESTORE 170 /* unmatched #pragma SAVE and #pragma RESTORE */
+#define E_INVALID_CRITICAL 171 /* operation invalid in critical sequence */
+#define E_NOT_ALLOWED 172 /* %s not allowed here */
+#define E_BAD_TAG 173 /* '%s' is not a %s tag */
+#define E_ENUM_NON_INTEGER 174 /* enumeration constant not an integer */
+#define W_DEPRECATED_PRAGMA 175 /* deprecated pragma */
/** Describes the maximum error level that will be logged. Any level
* includes all of the levels listed after it.
void werror (int errNum, ... ) ;
+/*
+-------------------------------------------------------------------------------
+werrorfl - Output a standard eror message with variable number of arguements.
+ Use a specified filename and line number instead of the default.
+
+-------------------------------------------------------------------------------
+*/
+
+void werrorfl (char *newFilename, int newLineno, int errNum, ...) ;
+
+/*
+-------------------------------------------------------------------------------
+fatal - Output a standard eror message with variable number of arguements and
+ call exit()
+-------------------------------------------------------------------------------
+*/
+
+void fatal (int exitCode, int errNum, ... ) ;
+
+/*
+-------------------------------------------------------------------------------
+style - Change the output error style to MSVC
+-------------------------------------------------------------------------------
+*/
+
+void MSVC_style (int style) ;
+
#endif