[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avr-gcc-list] New GCC warning - how to silence?
From: |
Eric Weddington |
Subject: |
RE: [avr-gcc-list] New GCC warning - how to silence? |
Date: |
Fri, 06 Apr 2007 09:51:11 -0600 |
> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Dmitry K.
> Sent: Friday, April 06, 2007 1:29 AM
> To: address@hidden
> Subject: Re: [avr-gcc-list] New GCC warning - how to silence?
>
> It is interesting, what was a reason to declare
> default char as signed for AVR port?
>
> Many other GCC ports use unsigned.
> I find only one CPU that is suitable for such
> choice: PDP-11, where the shortest method to read
> memory (mov_byte_from_memory_to_register) expands
> a sign bit.
I found it in avr.h of the port:
#define DEFAULT_SIGNED_CHAR 1
So this means that the AVR defaults to a signed char. Can we change this to
be unsigned?:
#define DEFAULT_SIGNED_CHAR 0
Eric Weddington
- RE: [avr-gcc-list] New GCC warning - how to silence?, (continued)
- RE: [avr-gcc-list] New GCC warning - how to silence?, Eric Weddington, 2007/04/08
- Re: [avr-gcc-list] New GCC warning - how to silence?, David Brown, 2007/04/10
- Re: [avr-gcc-list] New GCC warning - how to silence?, Lars Noschinski, 2007/04/07
- RE: [avr-gcc-list] New GCC warning - how to silence?, Eric Weddington, 2007/04/07
- Re: [avr-gcc-list] New GCC warning - how to silence?, Francesco Sacchi, 2007/04/08
- Re: [avr-gcc-list] New GCC warning - how to silence?, Rolf Magnus, 2007/04/08
- Re: [avr-gcc-list] New GCC warning - how to silence?, Bob Paddock, 2007/04/08
- Re: [avr-gcc-list] New GCC warning - how to silence?, Dave Hansen, 2007/04/09
- RE: [avr-gcc-list] New GCC warning - how to silence?, Eric Weddington, 2007/04/05
- Re: [avr-gcc-list] New GCC warning - how to silence?, Dmitry K., 2007/04/06
- RE: [avr-gcc-list] New GCC warning - how to silence?,
Eric Weddington <=
- Re: [avr-gcc-list] New GCC warning - how to silence?, Rolf Magnus, 2007/04/06
- RE: [avr-gcc-list] New GCC warning - how to silence?, Eric Weddington, 2007/04/06