X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2FUtil%2FSDCCerr.c;h=aa804d64c6c4e6db339b80c33bdfba7fa645b4b6;hb=b7d650f8fe1c5a42946ae9f0f6854978d510ed6f;hp=ea38e287d427bc07106c6ff5b457024366a2d9e2;hpb=5be90381bf67a833edd640da0d67400b3bb0f111;p=fw%2Fsdcc diff --git a/support/Util/SDCCerr.c b/support/Util/SDCCerr.c index ea38e287..aa804d64 100644 --- a/support/Util/SDCCerr.c +++ b/support/Util/SDCCerr.c @@ -424,6 +424,14 @@ struct "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" }, }; /*