* lib/mgetgroups.c: Xcode-12.1 identifies as GCC 4.2.1,
so disable -Wpointer-sign for all clang versions.
+2020-11-09 Pádraig Brady <P@draigBrady.com>
+
+ mgetgroups: avoid warning with clang
+ * lib/mgetgroups.c: Xcode-12.1 identifies as GCC 4.2.1,
+ so disable -Wpointer-sign for all clang versions.
+
2020-11-07 Bruno Haible <bruno@clisp.org>
gnulib-tool: Fix link error with 'version-etc' (regression 2020-05-29).
/* Work around an incompatibility of OS X 10.11: getgrouplist
accepts int *, not gid_t *, and int and gid_t differ in sign. */
-#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__)
+#if 4 < __GNUC__ + (3 <= __GNUC_MINOR__) || defined __clang__
# pragma GCC diagnostic ignored "-Wpointer-sign"
#endif