Go to the documentation of this file. 9 #ifndef __ZEDA_ERRMSG_H__ 10 #define __ZEDA_ERRMSG_H__ 16 #define ZEDA_WARN_ENDIAN_NOT_SUPPORTED "middle endian not supported." 17 #define ZEDA_WARN_INVALID_INTSIZ "invalid (or unsupported) size of int %d." 18 #define ZEDA_WARN_INVALID_LNGSIZ "invalid (or unsupported) size of long int %d." 19 #define ZEDA_WARN_INT_SHRTSIZ "size of int in ZBD file = %d, while sizeof(int) = %ld; might lose information." 20 #define ZEDA_WARN_LNG_SHRTSIZ "size of long in ZBD file = %d, while sizeof(long) = %ld; might lose information." 22 #define ZEDA_WARN_INVHEX "invalid hexadecimal notation: %c" 24 #define ZEDA_WARN_TOOLNG_BITWIDTH "too large bit width. the result might be wrong." 26 #define ZEDA_WARN_BUF_EXHAUSTED "exhausted buffer for string" 28 #define ZEDA_WARN_TOOLNG_STR "too long string" 29 #define ZEDA_WARN_TOOLNG_TKN "too long string to tokenize" 30 #define ZEDA_WARN_TOOLNG_NUM "too long number" 32 #define ZEDA_WARN_INDEX_SIZMIS "index has only %d components, while specified size is %d" 34 #define ZEDA_WARN_CSV_FIELD_EMPTY "field empty" 36 #define ZEDA_WARN_ZTK_INCLUDE_DUP "%s: duplicate file inclusion, skipped." 37 #define ZEDA_WARN_ZTK_NOT_TAGGED "not in a tagged field, skipped." 38 #define ZEDA_WARN_ZTK_DUPDEF "duplicate entry of tag [%s], skipped." 40 #define ZEDA_WARN_ZTK_TOOMANY_TAGS "too many tag %s specified, skipped." 41 #define ZEDA_WARN_ZTK_TOOMANY_KEYS "too many key %s specified, skipped." 43 #define ZEDA_WARN_UNKNOWNOPT "unknown option: %s" 47 #define ZEDA_ERR_NOT_ZBD "not a ZBD file." 48 #define ZEDA_ERR_ENDIAN_CHK_NOT_FOUND "endian checker not found." 49 #define ZEDA_ERR_VERSION_NOT_FOUND "version info not found." 50 #define ZEDA_ERR_INTSIZ_NOT_FOUND "size of int not found." 51 #define ZEDA_ERR_LNGSIZ_NOT_FOUND "size of long not found." 52 #define ZEDA_ERR_UNKNOWN_ENDIAN "unknown endian." 54 #define ZEDA_ERR_EMPTY_STRING "empty string" 56 #define ZEDA_ERR_SIZUNFOUND_INDEX "index size not specified" 58 #define ZEDA_ERR_LIST2INDEX_FAILED "cannot create an integer vector from an empty list" 60 #define ZEDA_ERR_CSV_INVALID "invalid CSV file" 61 #define ZEDA_ERR_CSV_INVALID_LINE "out-of-range line number %d specified" 63 #define ZEDA_ERR_FATAL "fatal error! - please report to the author"