summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-04-19 19:16:29 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2022-04-19 19:19:35 -0700
commit992cf3cb675e074079341cc54c3b16d37a8b9ca8 (patch)
tree8d8acc03885fb789b3fc036e013e01a095d5164d /m4
parent67940394c03450e767724a461c061921e2329bab (diff)
downloademacs-992cf3cb675e074079341cc54c3b16d37a8b9ca8.tar.gz
Update from gnulib
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-common.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4
index c5ced04f181..30911d1581a 100644
--- a/m4/gnulib-common.m4
+++ b/m4/gnulib-common.m4
@@ -1,4 +1,4 @@
-# gnulib-common.m4 serial 72
+# gnulib-common.m4 serial 73
dnl Copyright (C) 2007-2022 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -106,6 +106,10 @@ AC_DEFUN([gl_COMMON_BODY], [
#endif
#ifdef __has_c_attribute
+# if ((defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) <= 201710 \
+ && _GL_GNUC_PREREQ (4, 6))
+# pragma GCC diagnostic ignored "-Wpedantic"
+# endif
# define _GL_HAS_C_ATTRIBUTE(attr) __has_c_attribute (__##attr##__)
#else
# define _GL_HAS_C_ATTRIBUTE(attr) 0