[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gperf 3.1 breaks module unicase
From: |
Eric Blake |
Subject: |
Re: gperf 3.1 breaks module unicase |
Date: |
Mon, 13 Feb 2017 11:34:06 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
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
signature.asc
Description: OpenPGP digital signature