h8300-elf build broken

Marc Glisse marc.glisse@inria.fr
Wed May 9 08:57:00 GMT 2012


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

> On Wed, May 9, 2012 at 3:41 AM, Marc Glisse <marc.glisse@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



More information about the Libstdc++ mailing list