Re: test-simple-atomic.c compilation error on Solaris

2021-03-18 Thread Bruno Haible
Hi Tom, > The test-simple-atomic test is failing to build on Solaris (tested 10 > and older). > > Here's the error from Solaris 10: > > make[3]: Entering directory > `/export/home/tgc/tmp/daily_build/gnulib/000-gnulib-simple-363497c93/gltests' > depbase=`echo test-simple-atomic.o | sed 's|[^/]

simple-atomic: Fix compilation error on Solaris 10/x86_64 with cc

2021-03-18 Thread Bruno Haible
On Solaris 10 with cc I see this compilation error: cc -D_STDC_C99= -xarch=generic64 -O -DHAVE_CONFIG_H -I. -I../../gllib -I.. -DGNULIB_STRICT_CHECKING=1 -I/home/haible/prefix-x86_64/include -D_REENTRANT -g -c -o simple-atomic.o ../../gllib/simple-atomic.c Assembler: simple-atomic.c "

test-simple-atomic.c compilation error on Solaris

2021-03-18 Thread Tom G. Christensen
Hello, The test-simple-atomic test is failing to build on Solaris (tested 10 and older). Here's the error from Solaris 10: make[3]: Entering directory `/export/home/tgc/tmp/daily_build/gnulib/000-gnulib-simple-363497c93/gltests' depbase=`echo test-simple-atomic.o | sed 's|[^/]*$|.deps/&|;s|

Re: argmatch TEST code

2021-03-18 Thread Paul Eggert
Thanks, I installed the attached. >From 734cacc097d99844249c5e1b73f7583648a53bf6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 18 Mar 2021 11:00:53 -0700 Subject: [PATCH] argmatch: fix testing typo Problem and fix reported by Gisle Vanem in: https://lists.gnu.org/r/bug-gnulib/2021-03/msg

argmatch TEST code

2021-03-18 Thread Gisle Vanem
Hello list. Trying to compile 'argmatch.c' with '-DTEST', I got this error: argmatch.c(269): error C2172: 'argmatch_to_argument': actual parameter is not a pointer: parameter 1 It should be patched to: --- a/lib/argmatch.c 2021-01-01 14:12:49 +++ b/lib/argmatch.c 2021-03-18 09:48:46 @@ -26