From 0b16e4e1f1b9e6de16aa613b1b363d76b1023766 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 8 Apr 2022 17:02:21 -0700 Subject: Update from Gnulib by running admin/merge-gnulib --- lib/mini-gmp-gnulib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/mini-gmp-gnulib.c') diff --git a/lib/mini-gmp-gnulib.c b/lib/mini-gmp-gnulib.c index a18ee8f6ab7..7d09c80e9e9 100644 --- a/lib/mini-gmp-gnulib.c +++ b/lib/mini-gmp-gnulib.c @@ -40,7 +40,8 @@ #endif /* Pacify GCC -Wunused-variable for variables used only in 'assert' calls. */ -#if defined NDEBUG && 4 < __GNUC__ + (6 <= __GNUC_MINOR__) +#if (defined NDEBUG \ + && (4 < __GNUC__ + (6 <= __GNUC_MINOR__) || defined __clang__)) # pragma GCC diagnostic ignored "-Wunused-variable" #endif -- cgit v1.2.3