Page 1 of 1

Picking up old project again after long delay..

Posted: 27 September 2009, 15:52 PM
by ndudman
Hi

Just getting back into this old project after a house moving which has, well distracted me :)

Anyway I've had a few computer re-installs in the last 8 months or so so everything is fresh install and I'm a little rusty on how I left things.

I'm just getting compile errors, which I don't believe I was getting before

Code: Select all

guicmd.c:1058: error: expected ';' before '(' token
guicmd.c:1058: error: expected ';' before '}' token
guicmd.c:1058: error: expected statement before ')' token
guicmd.c:1062: error: expected ')' before 'else'
guicmd.c:1088: error: expected ';' before '}' token
guicmd.c:1090: error: expected expression before 'else'
The snipet starting on line 1058 from generated file guicmd.c is below

Code: Select all

IC0((void (*)(String))(uint16_t)(mzv_wait4userInputAddr), mzv_inputStr);
						zv_waiting4UserInput = 0;
						strCopy(&mzv_inputStr, STRTBL(0));
Seems to me all the () match up, the wait4userInput is a Based sub, which is currently working on the last uploaded version of uP that was compiled and running before I paused on the project.

Thanks for any help
Neil

Posted: 27 September 2009, 22:21 PM
by mikep
This should be in a new thread. It would help if you can post a small test example of ZBasic code that exhibits the problem (in a new thread). You can do this by methodically deleting code until you get something that shows this problem.

Posted: 28 September 2009, 0:44 AM
by ndudman
Ok I made a new topik

Thanks
Neil