bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Bruno Haible <bruno@clisp.org>
To: arnold@skeeve.com
Cc: bug-gnulib@gnu.org
Subject: Re: current gnulib regex breaks in gawk
Date: Sun, 07 Feb 2021 14:07:44 +0100	[thread overview]
Message-ID: <2898337.fT53xVPUIt@omega> (raw)
In-Reply-To: <202102071208.117C8s0q014959@freefriends.org>

Hi Arnold,

The attachment you sent is best viewed with 'less -R'.

> See typescript below.

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

(For adding to config.h, as you know, you can use AH_VERBATIM.)

2) It chokes on a missing definition of macro __attribute_maybe_unused__.

It seems you are not using gnulib's cdefs.h? You need both lib/libc-config.h
and lib/cdefs.h.

Bruno



  reply	other threads:[~2021-02-07 13:07 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 [this message]
2021-02-08  6:11       ` arnold
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=2898337.fT53xVPUIt@omega \
    --to=bruno@clisp.org \
    --cc=arnold@skeeve.com \
    --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).