RE: [PATCH v3] uapi: Make __{u,s}64 match {u,}int64_t in userspace
From: David Laight
Date: Tue Jun 21 2022 - 09:04:17 EST
From: Cyril Hrubis
> Sent: 21 June 2022 13:04
>
> This changes the __u64 and __s64 in userspace on 64bit platforms from
> long long (unsigned) int to just long (unsigned) int in order to match
> the uint64_t and int64_t size in userspace for C code.
>
> We cannot make the change for C++ since that would be non-backwards
> compatible change and may cause possible regressions and even
> compilation failures, e.g. overloaded function may no longer find a
> correct match.
Isn't is enough just to mention C++ name mangling?
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)