[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:54:59 -0600 |
> -----Original Message-----
> From: Eric Weddington [mailto:address@hidden
> Sent: Friday, April 06, 2007 9:51 AM
> To: 'Dmitry K.'; 'address@hidden'
> Cc: 'Anatoly Sokolov'; Denis Chertykov (address@hidden);
> 'Joerg Wunsch'
> Subject: RE: [avr-gcc-list] New GCC warning - how to silence?
>
>
>
> > -----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
For that matter, can we also define this target hook:
TARGET_DEFAULT_SHORT_ENUMS
And have it return true? This would also help.
Eric
- Re: [avr-gcc-list] New GCC warning - how to silence?, (continued)
- 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, 2007/04/06
- 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 <=