]> Savannah Git Hosting - gnulib.git/commit
stddef: work around GCC 14 stddef.h bugs
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2024 16:09:38 +0000 (09:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 27 Apr 2024 17:37:35 +0000 (10:37 -0700)
commit4538fc63f1acb6abdee154a6c09f7c4b2decdac5
tree019ce1e997c0757d5e0c3aebde9c8a5b34692ff8
parentd81a4871f8ec7e7757187929c4463f1cf5392f26
stddef: work around GCC 14 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.
(_GCC_NULLPTR_T): Define if needed to work around GCC bug 114869.
* m4/stddef_h.m4 (gl_STDDEF_H, gl_STDDEF_H_DEFAULTS):
* modules/stddef (stddef.h):
Detect the two bugs.
ChangeLog
doc/posix-headers/stddef.texi
lib/stddef.in.h
m4/stddef_h.m4
modules/stddef