lock: fix compilation error on HP-UX IA64

2017-03-19 Thread Bruno Haible
On HP-UX IA64 with this new shining compiler, I'm seeing this compilation error: --- cc +DD64 -AC99 -D_XOPEN_SOURCE=500 -DHAVE_CONFIG_H -I. -I../../src/gllib -I.. -g -c -o glthread/lock.o ../../src/gllib/glthread/lock.c

Re: stdalign test with HP-UX cc

2017-03-19 Thread Paul Eggert
Bruno Haible wrote: I have access to such a machine now. Excellent! Thanks. - The version numeber does not include a leading 0. Yes, that seems to be the practice now. Perhaps older versions had a leading 0 before they discovered that meant it was octal. I suggest to add a similar #e

vma-iter: support Solaris

2017-03-19 Thread Bruno Haible
I'm adding support for Solaris to the 'vma-iter' module. It's useful for GNU clisp. >From fef4a135e413afbe21d8522e4d6a80a55cb8eec0 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 19 Mar 2017 15:45:26 +0100 Subject: [PATCH 2/2] vma-iter: Add support for Solaris. * lib/vma-iter.c (vma_itera

Re: stdalign test with HP-UX cc

2017-03-19 Thread Bruno Haible
Hi Paul, I spoke too soon when I wrote: > I won't report a bug about this patch, because I don't have > access to a HP-UX IA64 machine. I have access to such a machine now. 1) About the version numbers: $ cc -V cc: HP C/aC++ B3910B A.06.27.03 [Nov 30 2012] $ aCC -V aCC: HP C/aC++ B3910B A.06.

Re: stdalign test with HP-UX cc

2017-03-19 Thread Bruno Haible
Hi Paul, > I'm inclined to guess that the 'aligned' attribute works on new-enough > Itanium > but not PA-RISC compilers. Possibly. And I won't report a bug about this patch, because I don't have access to a HP-UX IA64 machine. But my previous report about a portability problem arose because co

Re: stdalign test with HP-UX cc

2017-03-19 Thread Bruno Haible
Hi Paul, > I'm inclined to guess that the 'aligned' attribute works on new-enough > Itanium > but not PA-RISC compilers. > > > This manual is for a quite new HP cc on Itanium (IA-64) servers. > > I'm talking about an older HP cc on hppa. > > 2008 is "quite new"? Clocks must run slowly in the H