bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: nullptr_t bug fixed in GCC 15


From: Paul Eggert
Subject: [PATCH] doc: nullptr_t bug fixed in GCC 15
Date: Tue, 19 Nov 2024 13:58:06 -0800

---
 doc/gnulib.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/gnulib.texi b/doc/gnulib.texi
index e8d45f32f4..75b4df60c6 100644
--- a/doc/gnulib.texi
+++ b/doc/gnulib.texi
@@ -1053,6 +1053,10 @@ null pointer type checking is more error prone.  In C, 
@code{_Generic}
 expressions cannot reliably distinguish the type of @code{nullptr}
 from integer or @code{void *} types.  C++ overloading has similar
 limitations.
+
+@item
+GCC 14 defines @code{nullptr_t} even when @code{<stddef.h>} is not
+included.  This bug should be fixed in GCC 15.
 @end itemize
 
 @node static_assert
-- 
2.43.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]