Thx that solved the problem :)

2009/7/27 David Kitchen <>
I think the pointer-filling is wrong - K&R says you can only call
functions, and take their address. I think you are doing both.
So, I think


mdb_thread = &mdb_watch_transmit(); // famous line 79 from the error
should read

mdb_thread = mdb_watch_transmit;

the address-operator is, I think, optional. The call operator '()' must not be used.
Dave Kitchen

Sdcc-user mailing list