WG14 paper for removing restrict from nptr in strtol(3)
Martin Uecker
ma.uecker@gmail.com
Sun Jul 7 07:15:23 GMT 2024
Hi Alejandro,
if in caller it is known that endptr has access mode "write_only"
then it can conclude that the content of *endptr has access mode
"none", couldn't it?
You also need to discuss backwards compatibility. Changing
the type of those functions can break valid programs. You would
need to make a case that this is unlikely to affect any real
world program.
Martin
Am Sonntag, dem 07.07.2024 um 03:58 +0200 schrieb Alejandro Colomar:
> Hi,
>
> I've incorporated feedback, and here's a new revision, let's call it
> v0.2, of the draft for a WG14 paper. I've attached the man(7) source,
> and the generated PDF.
>
> Cheers,
> Alex
>
>
More information about the Gcc
mailing list