[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gperf 3.1 breaks module unicase
From: |
Darshit Shah |
Subject: |
gperf 3.1 breaks module unicase |
Date: |
Mon, 13 Feb 2017 16:24:24 +0100 |
User-agent: |
NeoMutt/20170206-5-dca6fe (1.7.2) |
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
signature.asc
Description: PGP signature
- gperf 3.1 breaks module unicase,
Darshit Shah <=