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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] A couple GCC warnings I would like tounderstand/get r


From: Vincent Trouilliez
Subject: Re: [avr-gcc-list] A couple GCC warnings I would like tounderstand/get rid of...
Date: Sun, 25 Jan 2009 03:20:02 +0100

On Sat, 24 Jan 2009 18:47:40 -0700
"Weddington, Eric" <address@hidden> wrote:

> Ah, ok, I see now. Sorry that I just gave it a quick glance.
> Again, typecasts are all that you need. See attached; no warnings, no errors. 

> {"Item 1             ",(const struct Tmenu    *)&menu_sub,NULL},


Oops, I guess our respective GCC versions don't behave the same again.. adding 
this type cast gives me a new/different warning:

menu.c:35: warning: type-punning to incomplete type might break strict-aliasing 
rules

I think we may well never see the end of it ! ;-)


--
Vince




reply via email to

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