Johan Kotlinski wrote: > Trying to compile this: > > void bar() {} > > main() > { > typedef void (*FOO)(void); > FOO foo; > foo = bar; > } > > ...gives: > > test.c(7): Error: Incompatible pointer types Isn't that correct as `void bar()` != `void bar(void)`? Ciao, Marc 'BlackJack' Rintsch ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.8 : 2009-09-01 14:26:32 CEST