[parted-devel] [PATCH 0/3] Fix GCC 8 compilation errors

Shin-ichiro KAWASAKI kawasaki at juno.dti.ne.jp
Sun Jun 30 13:48:07 BST 2019


On 6/20/19 6:07 AM, Brian C. Lane wrote:
> On Sat, Jun 15, 2019 at 04:00:52PM +0900, Shin'ichiro Kawasaki wrote:
>> With my Arch linux environment, parted master branch fails to build due
>> to GCC 8 warnings. This patch series fixes three failures and allows to
>> build successfully.
>>
>> Shin'ichiro Kawasaki (3):
>>    configure.ac: Check ABI against ABI version 2
>>    libparted/labels/pt-tools.c: Fix gperf generated function attribute
>>    include/parted/unit.in.h: Specify const attribute to
>>      ped_unit_get_name()
>>
>>   configure.ac                | 1 +
>>   include/parted/unit.in.h    | 2 +-
>>   libparted/labels/pt-tools.c | 7 ++++---
>>   3 files changed, 6 insertions(+), 4 deletions(-)
>>
>> -- 
>> 2.22.0
> 
> These all seem to work fine for me when added to the rawhide version of
> Fedora using gcc 9.

Hi Brian, thank you for your action. Recently, Arch GCC version has bumped up 
from 8 to 9, and I saw some more build failures. Will post fixes for GCC 9 soon, 
wishing these will make the parted maintenance easier.

--
Best Regards,
Shin'ichiro Kawasaki




More information about the parted-devel mailing list