Re: [PATCH] stddef.h: add support for musl typedef macro guards

2021-12-14 Thread Jeff Law via Gcc-patches
On 12/2/2021 11:24 PM, Sören Tempel wrote: Hi, Jeff Law wrote: So what doesn't make sense here is how both stddef.h files get included.  That's the core problem I think you need to resolve. The libgo/sysinfo.c file includes stddef.h (for which the GCC version in ginclude is used on my syst

Re: [PATCH] stddef.h: add support for musl typedef macro guards

2021-12-02 Thread Sören Tempel via Gcc-patches
Hi, Jeff Law wrote: > So what doesn't make sense here is how both stddef.h files get > included.  That's the core problem I think you need to resolve. The libgo/sysinfo.c file includes stddef.h (for which the GCC version in ginclude is used on my system) and stdlib.h which, on musl, causes an i

Re: [PATCH] stddef.h: add support for musl typedef macro guards

2021-12-02 Thread Jeff Law via Gcc-patches
On 11/26/2021 9:57 AM, soeren--- via Gcc-patches wrote: From: Sören Tempel The stddef.h header checks/sets various hardcoded toolchain/os specific macro guards to prevent redefining types such as ptrdiff_t, wchar_t, or size_t. However, without this patch, the file does not check/set the type

[PATCH] stddef.h: add support for musl typedef macro guards

2021-11-26 Thread soeren--- via Gcc-patches
From: Sören Tempel The stddef.h header checks/sets various hardcoded toolchain/os specific macro guards to prevent redefining types such as ptrdiff_t, wchar_t, or size_t. However, without this patch, the file does not check/set the typedef macro guards for musl libc. This causes types such as siz