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

Brian C. Lane bcl at redhat.com
Wed Jun 19 22:07:39 BST 2019


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.

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted



More information about the parted-devel mailing list