"Bob Paddock" <[EMAIL PROTECTED]> wrote: > "ISO C forbids assignment between function pointer and `void *'"
Yep, for example, IAR GCC would not compile that at all as I recently noticed. > static uint8_t (*state_function_ptr)(void); state_function_ptr = (uint8_t (*)(void)) pgm_read_word( &menu_state[current_state_u8].FunctionPointer ); -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list