[RFC v3 2/4] string: Add streq,memeq,wcseq,wmemeq,strcaseeq[_l],wcscaseeq[_l] APIs

Alejandro Colomar alx@kernel.org
Thu Sep 4 18:18:26 GMT 2025


Hi Joseph,

On Thu, Sep 04, 2025 at 04:25:52PM +0000, Joseph Myers wrote:
> On Thu, 4 Sep 2025, Alejandro Colomar wrote:
> 
> > The committee, after no small amount of convincing work, has accepted my
> > proposal <https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3622.txt>
> > for lifting that constraint.  This happened at the Brno meeting, last
> > week, so we still don't have a draft with the proposal applied.
> 
> Also, this was a delayed acceptance (subject to no objections before the 
> next meeting), so it shouldn't be integrated into the working draft before 
> February anyway.

Yup.  (Although I don't expect any, considering that Clang already has
never had any diagnostics for this, IIRC.)

> And since the proposed functions ought to be usable with pre-C2y 
> compilers, this change doesn't particularly help here.

I suggest that GCC removes the constraint from pre-C2y versions.  We
could move it to -Wpedantic, since the diagnostic is only to comply with
the standard, but doesn't bring much value.

But yeah, this probably needs to be a macro, at least for a long time.


Have a lovely night!
Alex

-- 
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20250904/65940f75/attachment.sig>


More information about the Libc-alpha mailing list