|
From: | Georg-Johann Lay |
Subject: | Re: [avr-gcc-list] AVR Libc int32_t and uint32_t typedefs are incorrect |
Date: | Wed, 11 Jan 2012 19:22:52 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
Joerg Wunsch schrieb:
As Georg-Johann Lay wrote:As fas as I know the only reason why avr-libc used mode attribute is to factor out impact of -mint8, ...No, our previous definitions were -mint8 clean, AFAICT. It just looked more elegant to use GCC's mode attributes to ensure certain bit widths, so when someone was proposing that change, we accepted it.
If avr-libc does not want to factor out -mint8 then it is even simplen: just typedef signed long int32_t;There's absolutely no rationale for using mode attribute as sizeof(long) is defined by the implementation and won't change at will.
Johann
[Prev in Thread] | Current Thread | [Next in Thread] |