Re: [Patch] tsystem.h: Declare calloc/realloc #ifdef inhibit_libc

2023-12-05 Thread Jakub Jelinek
On Tue, Dec 05, 2023 at 06:29:10PM +0100, Tobias Burnus wrote: > Crossref, there is are -Wbuiltin-declaration-mismatch warnings in > libgcc/emutls.c, > cf. https://gcc.gnu.org/PR109289 > > I decided to leave this to Thomas and Florian and just fix the build issue > with > the attached patch. Tha

[Patch] tsystem.h: Declare calloc/realloc #ifdef inhibit_libc

2023-12-05 Thread Tobias Burnus
Crossref, there is are -Wbuiltin-declaration-mismatch warnings in libgcc/emutls.c, cf. https://gcc.gnu.org/PR109289 I decided to leave this to Thomas and Florian and just fix the build issue with the attached patch. That build issue was also mentioned in PR libgcc/109289. An alternative would b