]> git.gag.com Git - fw/sdcc/blobdiff - support/Util/SDCCerr.c
* src/SDCCast.c (createIvalStruct, createIvalArray, createIvalPtr, createIval): imple...
[fw/sdcc] / support / Util / SDCCerr.c
index 65cd91ec6095913d5296b2dc257e5746d0ae3c3c..aa804d64c6c4e6db339b80c33bdfba7fa645b4b6 100644 (file)
@@ -422,6 +422,16 @@ struct
    "Both banked and callee-saves cannot be used together." },
 { W_INVALID_INT_CONST, ERROR_LEVEL_WARNING,
    "integer constant '%s' out of range, truncated to %.0lf." },
+{ W_CMP_SU_CHAR, ERROR_LEVEL_PEDANTIC,
+   "comparison of 'signed char' with 'unsigned char' requires promotion to int" },
+{ W_INVALID_FLEXARRAY, ERROR_LEVEL_WARNING,
+   "invalid use of structure with flexible array member" },
+{ W_C89_NO_FLEXARRAY, ERROR_LEVEL_PEDANTIC,
+   "ISO C90 does not support flexible array members" },
+{ E_FLEXARRAY_NOTATEND, ERROR_LEVEL_ERROR,
+   "flexible array member not at end of struct" },
+{ E_FLEXARRAY_INEMPTYSTRCT, ERROR_LEVEL_ERROR,
+   "flexible array in otherwise empty struct" },
 };
 
 /*