Gperf 3.1 was recently released and it changes the `len` parameter of the hash function to type `size_t` instead of the old `unsigned int`. This breaks the unicase module which defines the prototype of the hash function as:
gl_unicase_special_lookup (const char *str, unsigned int len);

whereas gperf produces the file `unicase/special-casing-table.h` with the function:
gl_unicase_special_lookup (register const char *str, register size_t len);


This causes GCC to error out when compiling the module due to a type mismatch. I am not sure how this issue should be resolved, since simply changing the prototype will cause builds to fail with older versions of gperf.


--
Thanking You,
Darshit Shah
PGP Fingerprint: 7845 120B 07CB D8D6 ECE5 FF2B 2A17 43ED A91A 35B6

Attachment: signature.asc
Description: PGP signature

Reply via email to