* m4/gnulib-common.m4 (gl_COMMON_BODY): Don't define
_GL_BRACKET_BEFORE_ATTRIBUTE with clang++ 16 or newer.
+2024-07-29 Bruno Haible <bruno@clisp.org>
+
+ An update for clang >= 16.
+ * m4/gnulib-common.m4 (gl_COMMON_BODY): Don't define
+ _GL_BRACKET_BEFORE_ATTRIBUTE with clang++ 16 or newer.
+
2024-07-29 Bruno Haible <bruno@clisp.org>
Fix misspelling of __clang_major__.
# gnulib-common.m4
-# serial 96
+# serial 97
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,
various _GL_ATTRIBUTE_* can be cumulated on the same declaration in any
order. */
#ifdef __cplusplus
-# if defined __clang__
+# if defined __clang__ && __clang_major__ < 16
# define _GL_BRACKET_BEFORE_ATTRIBUTE 1
# endif
#else