On 02/13/2017 09:50 AM, Paul Eggert wrote:
> On 02/13/2017 07:24 AM, Darshit Shah wrote:
>> simply changing the prototype will cause builds to fail with older
>> versions of gperf.
> 
> Simplest would be to change it to size_t, as we can assume developers
> using gnulib have recent developer tools. Could you prepare a patch
> along those lines?

It's also possible to go more complicated for supporting multiple gperf
versions, by doing a configure-time test for what type to use, #define a
macro (to either int or size_t), and use that macro in the signature.


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to