Maarten Brock schrieb:
> Ok, make it a const function pointer then. And to get 
> rid of the warning add a cast too:
> 
> void (* const fp)(void) = (void (*)(void))0xFFF0;
> fp();


Or directly:

   ((void (*)(void))0xFFF0)();


Greetings,
Frieder

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to