[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] calling function pointers via pointers ?
From: |
Vincent Trouilliez |
Subject: |
Re: [avr-gcc-list] calling function pointers via pointers ? |
Date: |
Thu, 29 Sep 2005 18:08:32 +0200 |
> I tried the '&' sign, but I get this error:
>
> ui.c:63: warning: initialization discards qualifiers from pointer target
> type
>
> I am really lost as to how to specify the address of menu_sub in
> ui_menu_main....
>
> Well, once I manage to initialise the main menu with the address of the
> sub menu, I will be ready for the final big test.... try to actually run
> the sub menu, that is, is my ui_menu_run() function (the one that's in
> charge of displaying a menu), re-entrant or not ! No-idea ! I think
> either it will work first time, or it will screw up big time, but I
> don't think there is much space for nuances in between !! :-P
>
> --
> Vince
Well, seeing as avrdude is so fast at programming the AVR, I decided to
ignore the compiler warning and run the program anyway... and wow,
what's happening, hey wait a minute, but, no, really ? Yes no doubt, it
WORKS !!!! The sub menu is properly displayed, I can exit it and come
back to the main menu no problem... it just works basically !
Well, I am well pleased, I have now a sizable chunk of the project
that's working, might now be time to set up a CVS project and start
committing as I progress...
Well, I guess this marks the end of Vince's menuing system adventure
then ! It's been an open source project so to speak, with many people
contributing, but I would like to thanks the two main contributors,
David Kelly and David Brown, thanks for the support ! :-)
I can now start writing some functions to complete the user interface...
--
Vince
- RE: [avr-gcc-list] calling function pointers via pointers ?, (continued)
- Re: [avr-gcc-list] calling function pointers via pointers ?, David Brown, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Dave Hansen, 2005/09/28
- Re: [avr-gcc-list] calling function pointers via pointers ?, David Brown, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Vincent Trouilliez, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, David Brown, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Vincent Trouilliez, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, David Brown, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Vincent Trouilliez, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?,
Vincent Trouilliez <=
- Re: [avr-gcc-list] calling function pointers via pointers ?, Andy Warner, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Vincent Trouilliez, 2005/09/29
- Re: [avr-gcc-list] calling function pointers via pointers ?, Anton Erasmus, 2005/09/30
- Re: [avr-gcc-list] calling function pointers via pointers ?, Dave Hansen, 2005/09/29
Re: [avr-gcc-list] calling function pointers via pointers ?, Joerg Wunsch, 2005/09/28
RE: [avr-gcc-list] calling function pointers via pointers ?, Dave Hansen, 2005/09/28
[avr-gcc-list] Re: calling function pointers via pointers ?, Oleksandr Redchuk, 2005/09/29