[PATCH v17 2/2] c: Add __countof__ operator
Alejandro Colomar
alx@kernel.org
Fri Nov 8 23:25:48 GMT 2024
Hi Joseph,
On Fri, Nov 08, 2024 at 03:54:51PM GMT, Joseph Myers wrote:
> On Fri, 8 Nov 2024, Alejandro Colomar wrote:
>
> > Hi Thorsten, JeanHeyd,
> >
> > I've just checked that JeanHeyd opened a survey about the name.
> > It's here: <https://thephd.dev/the-big-array-size-survey-for-c>.
> > Thanks for the survey, JeanHeyd; It's a fair one. (The only thing I
> > miss is anouncing it to some relevant publics, but I guess I'm doing it
> > now, so that's ok.) Would you mind sharing provisional results before
> > Nov 18? That's the cut-off date for having this feature in GCC 15.
> > If you don't want to publish provisional results for fear of influencing
> > other voters, you could share them in private.
>
> I don't consider such survey results to be of any relevance to reviewing a
> GCC patch. The basis for review now is what's in C2Y now (which the
> proposed patch does not follow). If a name change is accepted in Graz
> (possibly taking into account survey results at that point), that's the
> point at which it's relevant for GCC.
Fair enough. For now, I keep it for GCC 16. Adding _Lengthof now to
GCC 15 may jeopardize my attempt to rename it in Graz, so I'll play my
cards. If I see survey results that don't seem good for my renaming
attempts, I may reconsider and send _Lengthof next week; but for now I
have some hope. :-)
BTW, I'm nevertheless going to rebase my patch, to test with the changes
that Martin did to arrays of 0 elements. I may send another revision of
the _Countof patch set, just for having it in the list, but you can just
ignore it.
Have a lovely night!
Alex
--
<https://www.alejandro-colomar.es/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20241109/00cefdf1/attachment.sig>
More information about the Gcc
mailing list