From 8650e31e6e4ef0b5feef4052886152e9f994e2af Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 12 Feb 2024 13:16:32 +0100 Subject: [PATCH] stdalign: Document a clang 17 bug. * doc/posix-headers/stdalign.texi: Mention a clang 17 bug. --- ChangeLog | 5 +++++ doc/posix-headers/stdalign.texi | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index dfaef75fdc..9b863c602d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2024-02-12 Bruno Haible + + stdalign: Document a clang 17 bug. + * doc/posix-headers/stdalign.texi: Mention a clang 17 bug. + 2024-02-12 Bruno Haible getcwd, getcwd-lgpl: Fix configure test. diff --git a/doc/posix-headers/stdalign.texi b/doc/posix-headers/stdalign.texi index 7f75a15540..4f9c2dd186 100644 --- a/doc/posix-headers/stdalign.texi +++ b/doc/posix-headers/stdalign.texi @@ -45,6 +45,10 @@ This portability problem should not matter with code using Gnulib's @code{alignasof} module, as such code should use @code{alignas} and @code{alignof} without checking these two macros. (Gnulib's now-deprecated @code{stdalign} module defines these two macros.) +@item +@c https://github.com/llvm/llvm-project/issues/81472 +Clang 17 does not support an @code{alignas} attribute in the +specifier-qualifier position of a member declaration. @end itemize Portability problems not fixed by Gnulib: -- 2.39.5