Re: [PATCH v19 3/3] c: Add

2025-05-09 Thread Joseph Myers
On Fri, 9 May 2025, Alejandro Colomar wrote: > > This should define also > > __STDC_VERSION_STDCOUNTOF_H__ > > macro (guess to 202502L or when the paper has been approved for now > > or maybe 202500L as something clearly before that). > > Hmmm, I was wondering what value I should put there, and e

Re: [PATCH v19 3/3] c: Add

2025-05-09 Thread Jakub Jelinek
On Fri, May 09, 2025 at 09:32:50PM +0200, Alejandro Colomar wrote: > gcc/ChangeLog: > > * Makefile.in Missing (USER_H): Add stdcountof.h. > --- /dev/null > +++ b/gcc/ginclude/stdcountof.h > @@ -0,0 +1,31 @@ > +/* Copyright (C) 2025 Free Software Foundation, Inc. > + > +This file is part of

Re: [PATCH v19 3/3] c: Add

2025-05-09 Thread Alejandro Colomar
Hi Jakub, On Fri, May 09, 2025 at 10:02:17PM +0200, Jakub Jelinek wrote: > On Fri, May 09, 2025 at 09:32:50PM +0200, Alejandro Colomar wrote: > > gcc/ChangeLog: > > > > * Makefile.in > > Missing (USER_H): Add stdcountof.h. Thanks! > > --- /dev/null > > +++ b/gcc/ginclude/stdcountof.h > > @

[PATCH v19 3/3] c: Add

2025-05-09 Thread Alejandro Colomar
gcc/ChangeLog: * Makefile.in * ginclude/stdcountof.h: Add countof macro. Signed-off-by: Alejandro Colomar --- gcc/Makefile.in | 1 + gcc/ginclude/stdcountof.h | 31 +++ 2 files changed, 32 insertions(+) create mode 100644 gcc/ginclude/stdc