bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: current gnulib regex breaks in gawk


From: Bruno Haible
Subject: Re: current gnulib regex breaks in gawk
Date: Sun, 07 Feb 2021 14:07:44 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; )

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 via email to

[Prev in Thread] Current Thread [Next in Thread]