Re: [PATCH] Fix build of guile-3.0 trunk with gcc-8 on hpux11.11

2020-03-23 Thread John David Anglin
t; wrote: >> >> >> Message: 1 >> Date: Mon, 23 Mar 2020 12:40:57 -0400 >> From: John David Anglin mailto:dave.ang...@bell.net>> >> To: guile-devel mailto:guile-devel@gnu.org>> >> Cc: Helge Deller mailto:del...@gmx.de>>, John Paul Adrian >>

Re: [PATCH] Fix build of guile-3.0 trunk with gcc-8 on hpux11.11

2020-03-23 Thread Massimiliano Gubinelli
: Helge Deller mailto:del...@gmx.de>>, John Paul Adrian > Glaubitz > mailto:glaub...@physik.fu-berlin.de>> > Subject: [PATCH] Fix build of guile-3.0 trunk with gcc-8 on hpux11.11 > Message-ID: <1b543c79-7e66-9a93-8c57-91527519b...@bell.net > <mailto:1b543c79

[PATCH] Fix build of guile-3.0 trunk with gcc-8 on hpux11.11

2020-03-23 Thread John David Anglin
The following change fixes the build of guile-3.0 using gcc-8 on hpux11.11. There are three issues addressed: 1) The printf function does not support %zu. Since all the type sizes are small, we can use %u and cast the sizeof results to unsigned int. 2) HP-UX 11.11 does not have readdir64 or rea