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

Shin'ichiro Kawasaki kawasaki at juno.dti.ne.jp
Sun Jun 30 13:49:41 BST 2019


With GCC 9, parted master branch fails to build. This patch series fixes
three failures. Applying this series and another series for GCC 8 warnings
together, parted can be build with GCC 9 successfully.

Shin'ichiro Kawasaki (3):
  libparted/labels: Specify 'aligned' attributes
  libparted: Replace abs() with llabs()
  libparted/labels/dvh.c: Replace strncpy()

 libparted/cs/natmath.c   | 2 +-
 libparted/disk.c         | 2 +-
 libparted/filesys.c      | 2 +-
 libparted/labels/atari.c | 2 +-
 libparted/labels/bsd.c   | 2 +-
 libparted/labels/dos.c   | 4 ++--
 libparted/labels/dvh.c   | 7 +++++--
 libparted/labels/gpt.c   | 2 +-
 libparted/labels/sun.c   | 2 +-
 9 files changed, 14 insertions(+), 11 deletions(-)

-- 
2.22.0




More information about the parted-devel mailing list