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
> ...
> t
> s
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
I use function pointers to loop through state machines.
They are declared global as:
void (*mdb_thread)(void);
void (*main_thread)(void);
Following code is problematic:
// wait for transmission completed and start timeout then
void mdb_watch_transmit(void)
{
if(transmit_ok)
{
tim
- Original Message -
From: PowerMan
To: sdcc-user@lists.sourceforge.net
Sent: Monday, July 27, 2009 7:13 AM
Subject: [Sdcc-user] A Question About support of AVR
> but I notice that there is a comment "AVR and gbz80
> targets are no longer maintained"
This exact question was just asked
AVR is adequately supported by gcc-avr on Linux and winAVR on Windows so
no need for sdcc support.
gbz80 I'm not sure but suspect it is simply because there is now no-one
willing to put in the time & effort needed to maintain such an oddball
branchling. Of course, lack of hardware would also play a
your question was answered a few days ago.
See here:
http://sourceforge.net/mailarchive/message.php?msg_name=5B96C97B1988A4419C8FED50FF66A29B086095%40exchbj02.viatech.com.bj
Regards,
Seb
On Mon, Jul 27, 2009 at 1:13 PM, PowerMan wrote:
> *Hello, I am looking for a compiler for AVR,
> but I not
*Hello, I am looking for a compiler for AVR,
but I notice that there is a comment "**AVR* and *gbz80* targets are no
longer maintained"
on the webpite of SDCC "http://sdcc.sourceforge.net/";
I would like to know why ?
Thanks.
---