[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] sfr_defs.h and -mint8

From: Theodore A. Roth
Subject: Re: [avr-libc-dev] sfr_defs.h and -mint8
Date: Wed, 8 Oct 2003 21:45:14 -0700 (PDT)

On Mon, 6 Oct 2003, Tomas Vanek wrote:

>Hi all,
>Please don't waste your time explaining me a global statement that
>avr-libc is basically not compatible with -mint8. I know about it and I
>agree with it.
><sfr_defs.h> declares 16-bits registers as unsigned int. This is big
>trouble when using -mint8. If you think that it is worth to switch
><sfr_defs.h> to <inttypes.h> types, here is the patch.
>The question is where and when to include <inttypes.h>. It might be
>better included in <io.h>, however I'd prefer including it in
><sfr_defs.h> when __ASSEMBLER__ is not defined. I believe it makes no harm.

I've committed this to HEAD and 1.0 branch.

Tom, if you find any other fixups for -mint8, please post them.

Thanks for the submission.

Ted Roth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]