Report and fix by Ryan Carsten Schmidt <gnulib@ryandesign.com>
at <https://savannah.gnu.org/bugs/?63866>.
* m4/gnulib-common.m4 (gl_COMMON_BODY): For _GL_HAS_ATTRIBUTE, don't use
__has_attribute for Apple clang versions <
7000000.
* lib/cdefs.h (__glibc_has_attribute): Don't use __has_attribute for
Apple clang versions <
7000000.
+2024-01-29 Bruno Haible <bruno@clisp.org>
+
+ Port FALLTHROUGH to Mac OS X 10.9.
+ Report and fix by Ryan Carsten Schmidt <gnulib@ryandesign.com>
+ at <https://savannah.gnu.org/bugs/?63866>.
+ * m4/gnulib-common.m4 (gl_COMMON_BODY): For _GL_HAS_ATTRIBUTE, don't use
+ __has_attribute for Apple clang versions < 7000000.
+ * lib/cdefs.h (__glibc_has_attribute): Don't use __has_attribute for
+ Apple clang versions < 7000000.
+
2024-01-29 Bruno Haible <bruno@clisp.org>
libc-config: Apply lesson learned on 2023-01-13.
#if (defined __has_attribute \
&& (!defined __clang_minor__ \
|| (defined __apple_build_version__ \
- ? 6000000 <= __apple_build_version__ \
+ ? 7000000 <= __apple_build_version__ \
: 5 <= __clang_major__)))
# define __glibc_has_attribute(attr) __has_attribute (attr)
#else
-# gnulib-common.m4 serial 90
+# gnulib-common.m4 serial 91
dnl Copyright (C) 2007-2024 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
#if (defined __has_attribute \
&& (!defined __clang_minor__ \
|| (defined __apple_build_version__ \
- ? 6000000 <= __apple_build_version__ \
+ ? 7000000 <= __apple_build_version__ \
: 5 <= __clang_major__)))
# define _GL_HAS_ATTRIBUTE(attr) __has_attribute (__##attr##__)
#else