|
From: | Stefan Ernst |
Subject: | Re: [avr-gcc-list] AVR Libc int32_t and uint32_t typedefs are incorrect |
Date: | Tue, 10 Jan 2012 20:27:37 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.25) Gecko/20111213 Thunderbird/3.1.17 |
However lines 125 and 126 define int32_t and uint32_t as signed int and unsigned int respectively.
What about the rest of that lines? unsigned int -> 16 bit unsigned int __attribute__ ((__mode__ (__SI__))) -> 32 bit
I have confirmed the sizes of the basic types on my system: sizeof(long) = 4 sizeof(unsigned long) = 4 sizeof(int) = 2 sizeof(unsigned int) = 2
And you haven't simply tested "sizeof(uint32_t)"? -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |