Re: [PATCH] uapi: Make __{u,s}64 match {u,}int64_t in userspace

From: Zack Weinberg
Date: Thu Dec 02 2021 - 15:48:53 EST


On Thu, Dec 2, 2021, at 10:01 AM, David Howells via Libc-alpha wrote:
> Zack Weinberg <zack@xxxxxxxxxxxx> wrote:
>> I could be persuaded otherwise with an example of a program for which
>> changing __s64 from 'long long' to 'long' would break *binary* backward
>> compatibility, or similarly for __u64.
>
> C++ could break.

That's too hypothetical to be actionable. I would like to see a _specific program_, and I would like it to be one that already exists in the world and was not written as a test case for this hypothetical ABI break.

zw