On 2024-04-27 15:17, Sam James wrote:
Someone might read this and wrongly think that "GCC 14"
is broken.
I'd just omit 14 here.
Good point as I think some of these bugs are also in GCC 13.x for some
value of x.
I installed the attached. It's not quite what you asked for but I hope
it addresses the issue.
From b2b3e3b754f865834c8c66f3b2f1d73fecea2216 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sat, 27 Apr 2024 16:07:16 -0700
Subject: [PATCH] maint: be more precise and vague about GCC 14
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
In commentary, be specific about which particular GCC 14 prerelease is
meant when this matters, and don’t say “GCC 14” otherwise.
Prompted by a remark by Sam James in:
https://lists.gnu.org/r/bug-gnulib/2024-04/msg00484.html
---
ChangeLog | 4 ++--
doc/posix-headers/stddef.texi | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 34893ebff1..185daab415 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,10 +31,10 @@
2024-04-27 Paul Eggert <egg...@cs.ucla.edu>
- nullptr: work around GCC 14 nullptr sentinel bug
+ nullptr: work around GCC nullptr sentinel bug
* m4/nullptr.m4 (gl_NULLPTR): Work around GCC bug 114780.
- stddef: work around GCC 14 stddef.h bugs
+ stddef: work around GCC stddef.h bugs
* lib/stddef.in.h: Do nothing if _@GUARD_PREFIX@_STDDEF_H is
defined, as stddef.h has already been included. This works
around GCC bug 114870.
diff --git a/doc/posix-headers/stddef.texi b/doc/posix-headers/stddef.texi
index 0e331481aa..00860bade0 100644
--- a/doc/posix-headers/stddef.texi
+++ b/doc/posix-headers/stddef.texi
@@ -48,7 +48,7 @@ GCC 12, Clang 15, and other pre-2023 C compilers.
@item
Some platforms define @code{nullptr_t} even when @code{<stddef.h>} is
not included:
-GCC 14.0.
+GCC 14.0.1 20240411 (Red Hat 14.0.1-0).
@item
Some platforms provide an @code{offsetof} macro that cannot be used in
--
2.40.1