avr-gcc-list
[Top][All Lists]
Advanced

[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: Thu, 05 Apr 2007 16:56:23 -0600

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Joerg Wunsch
> Sent: Thursday, April 05, 2007 4:02 PM
> To: address@hidden
> Subject: Re: [avr-gcc-list] New GCC warning - how to silence?
> 
> 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.

Probably another candidate for the FAQ, as more users move to GCC 4.x.





reply via email to

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