Thx that solved the problem :)

2009/7/27 David Kitchen <dave.kitchen@insync.tv>
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
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user