[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: |
Joerg Wunsch |
Subject: |
Re: [avr-gcc-list] New GCC warning - how to silence? |
Date: |
Fri, 6 Apr 2007 00:02:04 +0200 (MET DST) |
Eric Weddington <address@hidden> wrote:
> GCC 4 seems to be a lot more concerned about the differences between
> "char" and "unsigned char". Are you using the -funsigned-char flag
> in your compiler command?
Regardless of which is the default, just never mix up "char" with
either "unsigned char" (or uint8_t) or "signed char" (int8_t) at all.
A portable application needs to handle all three types as distinct, as
the default signedness of the type "char" is not determined by the
standard.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
- [avr-gcc-list] New GCC warning - how to silence?, larry barello, 2007/04/05
- 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?,
Joerg Wunsch <=
- Re: [avr-gcc-list] New GCC warning - how to silence?, Joerg Wunsch, 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?, Joerg Wunsch, 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?, Joerg Wunsch, 2007/04/06
- RE: [avr-gcc-list] New GCC warning - how to silence?, larry barello, 2007/04/07
- Re: [avr-gcc-list] New GCC warning - how to silence?, Rolf Magnus, 2007/04/07