[PATCH 0/3] integer limit macro consolidation
Rasmus Villemoes
ravi at prevas.dk
Mon Jul 7 22:39:14 CEST 2025
On Fri, Jul 04 2025, Tom Rini <trini at konsulko.com> wrote:
> On Thu, Jul 03, 2025 at 01:37:27PM +0200, Rasmus Villemoes wrote:
>
>> I was bitten by our limit macros not being usable in #if conditionals
>> when building a standalone app. It turns out that the work to fix that
>> had already been started by the inclusion of the mbedtls library, so
>> it's something that people do hit.
>>
>> Let's finish the job by providing suitable limit macros for all three families:
>>
>> - Standard C types, char, short, ...
>> - Kernel-style fixed-width types s8, u64, ...
>> - POSIX/C99 fixed-width types int16_t, uint32_t, ...
>>
>
> Thanks for doing this. I assume you put this through CI?
I wanted to, forgot to actually do it. But now I have, and it found a
thinko/typo in 1/3. Fixed that up and now CI is happy, so just sent v2.
Thanks,
Rasmus
More information about the U-Boot
mailing list