[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Byte int
From: |
E. Weddington |
Subject: |
Re: [avr-gcc-list] Byte int |
Date: |
Wed, 12 Mar 2003 16:58:15 -0700 |
On 12 Mar 2003 at 15:41, Larry Barello wrote:
> Sorry for asking this. I really did try to find this in the GCC
> documentation.
>
> How do I tell the compiler I want the default int to be a byte? This
> is for switch & logic stuff for one of the smaller chips (typically
> everything is promoted to int before doing comparisons or returning
> values).
>
> Please include the pointer to where I can read about this next time.
>
-mint8
which you *don't* want to do as it is totally unsupported by avr-libc
and will cause problems. I think the avr-libc docs (maybe the FAQ)
talks a little about this.
Eric