bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: arnold@skeeve.com
To: bruno@clisp.org, arnold@skeeve.com
Cc: bug-gnulib@gnu.org
Subject: Re: current gnulib regex breaks in gawk
Date: Sun, 07 Feb 2021 23:11:19 -0700	[thread overview]
Message-ID: <202102080611.1186BJYj009728@freefriends.org> (raw)
In-Reply-To: <2898337.fT53xVPUIt@omega>

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
 


  reply	other threads:[~2021-02-08 11:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-07  9:57 current gnulib regex breaks in gawk arnold
2021-02-07 10:29 ` Bruno Haible
2021-02-07 12:08   ` arnold
2021-02-07 13:07     ` Bruno Haible
2021-02-08  6:11       ` arnold [this message]
2021-02-08  6:36         ` arnold
2021-04-16 22:30           ` Dmitry V. Levin
2021-04-17 19:18             ` arnold
2021-04-17 19:43             ` arnold
2021-04-17 21:40               ` Dmitry V. Levin
2021-04-18  5:53                 ` arnold
2021-04-22  6:52                   ` arnold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202102080611.1186BJYj009728@freefriends.org \
    --to=arnold@skeeve.com \
    --cc=bruno@clisp.org \
    --cc=bug-gnulib@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).