Marc Glisse | 9 May 2012 10:57
Picon
Picon
Favicon

Re: h8300-elf build broken

On Wed, 9 May 2012, Gabriel Dos Reis wrote:

> On Wed, May 9, 2012 at 3:41 AM, Marc Glisse <marc.glisse <at> inria.fr> wrote:
>> necessary because of platforms where size_t is unsigned short (I didn't know
>> those existed...)
>
> Well, I suspect AVR might be such platform but I do not seem to have an
> ABI document for AVR yet... (hint, hint).
>
> An interesting question is what ptrdiff_t is for such platforms... (I
> would expect short)

At least on h8300, where size_t may be unsigned short, unsigned int or 
unsigned long depending on the options, ptrdiff_t is simply the signed 
version of size_t.

--

-- 
Marc Glisse


Gmane