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

Florian Weimer fweimer@redhat.com
Thu Sep 4 18:25:07 GMT 2025


* Alejandro Colomar:

>> 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.

That doesn't seem to be necessary.  GCC already supports the deseriable
behavior using “extern __inline __attribute__ ((__gnu_inline__))”.

Thanks,
Florian



More information about the Libc-alpha mailing list