> ... where I initialize a pointer with "&dummy_func"
errata, I meant &menu_sub not &dummy_func of course...
--
Vince, should not listen to music while typing...
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/lis
On Sat, 24 Jan 2009 16:33:38 -0700
"Weddington, Eric" wrote:
> See attached. No warnings, no errors.
Thanks Eric !
But you have won only half the trophey I am afraid.. you didn't fix the
first warning(s)
> > menu.c:35: warning: initialization from incompatible pointer type
> > menu.c:36: warni
g
> Subject: Re: [avr-gcc-list] A couple GCC warnings I would
> like to understand/ get rid of...
>
> On Thu, 22 Jan 2009 10:17:07 -0700
> "larry barello" wrote:
>
> > the compiler is complaining because you have an extra or a
> missing "const"
>
> menu.c:44: warning: type qualifiers ignored on function return type
Ignore that one, was just a little bug while I was cutting down the program...
--
Vince
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinf
On Thu, 22 Jan 2009 10:17:07 -0700
"larry barello" wrote:
> the compiler is complaining because you have an extra or a missing "const"
> in your structure definitions. There is a mismatch between your flash
> declaration and the type of pointer within your struct. Probably adding a
> const keyw
the compiler is complaining because you have an extra or a missing "const"
in your structure definitions. There is a mismatch between your flash
declaration and the type of pointer within your struct. Probably adding a
const keyword to the pointer within your struct and removing the const in
your