Hi Bruno.
> 1) It chokes on a missing definition of macro _GL_ATTRIBUTE_FALLTHROUGH.
>
> Can you add this piece of text to a common .h file?
>
> #if 201710L < __STDC_VERSION__
> # define _GL_ATTRIBUTE_FALLTHROUGH [[__fallthrough__]]
> #elif _GL_HAS_ATTRIBUTE (fallthrough)
> # define _GL_ATTRIBUTE_
arn...@skeeve.com wrote:
> I still have to have the following change, otherwise I get a linkage
> error on the gl_dyanarray_* routines. :-(
>
> So, at least for the nonce, my copy and Gnulib's will be out of sync.
> Oh well.
So actually, I've managed to work around this issue too. So the files
ar
On MidnightBSD 2.0/x86 I see these warnings:
../../gltests/test-random.c:22:18: warning: initialization from incompatible
pointer type [-Wincompatible-pointer-types]
../../gltests/test-random.c:23:18: warning: initialization from incompatible
pointer type [-Wincompatible-pointer-types]
This pat
> On MidnightBSD 2.0/x86 I see these warnings:
Oops, I pasted the wrong warnings. These are the actual warnings:
../../gltests/test-posixtm.c:180:62: warning: format '%ld' expects argument of
type 'long int', but argument 3 has type 'time_t {aka int}' [-Wformat=]
../../gltests/test-posixtm.c:180
On MidnightBSD 2.0 I see these warnings:
../../gltests/test-getlogin_r.c:24:18: warning: initialization from
incompatible pointer type [-Wincompatible-pointer-types]
../../gltests/test-random.c:22:18: warning: initialization from incompatible
pointer type [-Wincompatible-pointer-types]
../../glt
On MidnightBSD 2.0/x86, test-stddef fails to compile when CC=cc is used
(but not with CC=gcc7):
../../gltests/test-stddef.c:63:1: error: static_assert failed due to
requirement '__alignof(double) <= __alignof(__max_align_t)' "verify
(__alignof__ (double) <= __alignof__ (max_align_t))"
verify (__
Bruno Haible wrote:
> Hi Marc, Ben,
>
> I need your expertise regarding data structures.
>
> Assume a program has a signal handler, which needs to share some data
> structure with the rest of the program.
>
> There are two cases:
>
> (A) Assume that the program is single-threaded.
> Then i