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
...
t
should read 

...
mdb_thread = mdb_watch_transmit;
...

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



------------------------------------------------------------------------------
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to