[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: current gnulib regex breaks in gawk
From: |
arnold |
Subject: |
Re: current gnulib regex breaks in gawk |
Date: |
Sun, 07 Feb 2021 23:11:19 -0700 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
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_FALLTHROUGH __attribute__ ((__fallthrough__))
> #else
> # define _GL_ATTRIBUTE_FALLTHROUGH ((void) 0)
> #endif
Fixed, in a slightly different fashion.
> It seems you are not using gnulib's cdefs.h? You need both lib/libc-config.h
> and lib/cdefs.h.
That helped a lot.
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.
Thanks,
Arnold
---------------------
--- /usr/local/src/Gnu/gnulib/lib/regex_internal.h 2021-02-08
07:51:05.352326126 +0200
+++ regex_internal.h 2021-02-08 08:06:15.938934924 +0200
@@ -32,7 +32,7 @@
#include <stdbool.h>
#include <stdint.h>
-#ifndef _LIBC
+#if !defined(_LIBC) && !defined(GAWK)
# include <dynarray.h>
#endif