From: Karl Berry Date: Wed, 28 Aug 2024 15:01:35 +0000 (-0700) Subject: autoupdate X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a0a1ea0219e385526ab0d6d3903983f79895ee0f;p=gnulib.git autoupdate --- diff --git a/lib/regex.h b/lib/regex.h index 71a45f8c27..ccf40cebc0 100644 --- a/lib/regex.h +++ b/lib/regex.h @@ -531,8 +531,7 @@ typedef struct # endif #endif -#if (defined __GNUC__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__) \ - && !defined __clang__) +#if defined __GNUC__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__) # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wvla" #endif @@ -540,7 +539,7 @@ typedef struct #ifndef _Attr_access_ # ifdef __attr_access # define _Attr_access_(arg) __attr_access (arg) -# elif defined __GNUC__ && 10 <= __GNUC__ && !defined __clang__ +# elif defined __GNUC__ && 10 <= __GNUC__ # define _Attr_access_(x) __attribute__ ((__access__ x)) # else # define _Attr_access_(x) @@ -689,8 +688,7 @@ extern size_t regerror (int __errcode, const regex_t *_Restrict_ __preg, extern void regfree (regex_t *__preg); -#if (defined __GNUC__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__) \ - && !defined __clang__) +#if defined __GNUC__ && 4 < __GNUC__ + (6 <= __GNUC_MINOR__) # pragma GCC diagnostic pop #endif