Date: Wed, 10 Jun 2026 17:58:18 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Faraz Vahedi <kfv@kfv.io> Subject: git: 694baf88c2ae - main - libc: Suppress <stdalign.h> content for C23 and later Message-ID: <6a29a5ba.3fa94.3c1d7971@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=694baf88c2ae5957fdb24ed163993109987e1ef9 commit 694baf88c2ae5957fdb24ed163993109987e1ef9 Author: Faraz Vahedi <kfv@kfv.io> AuthorDate: 2026-05-20 10:06:16 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-06-10 16:14:32 +0000 libc: Suppress <stdalign.h> content for C23 and later C23 deprecates <stdalign.h> and specifies that the header shall provide no content (ยง7.15.1). Signed-off-by: Faraz Vahedi <kfv@kfv.io> Pull Request: https://github.com/freebsd/freebsd-src/pull/2223 MFC after: 1 month Reviewed by: imp, fuz --- include/stdalign.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdalign.h b/include/stdalign.h index 00ae5677f449..1b439565f588 100644 --- a/include/stdalign.h +++ b/include/stdalign.h @@ -26,6 +26,8 @@ * SUCH DAMAGE. */ +#if __STDC_VERSION__ < 202311L + #ifndef __alignas_is_defined #define __alignas_is_defined 1 @@ -45,3 +47,5 @@ #endif #endif /* !__alignof_is_defined */ + +#endif /* __STDC_VERSION__ < 202311L */home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a29a5ba.3fa94.3c1d7971>
