> A useful technique for tracking this sort of mystery down is:
>
> $ m68k-palmos-gcc -E -P -palmos3.5 palm.c > palmprep.c
> $ m68k-palmos-gcc -c -O2 -Wall palmprep.c
> palmprep.c:879: syntax error before `typedef'
this was a great piece of advice :) thanks John. :P it should be
documented somewhere (maybe on the gcc tools page - a HINT for
developers)? :))
the problem is that somehow, when i used my trusty 'vi' editor over
a telnet session - it strangely entered some characters at the start
of my palm.c file (above my documentation area).
to the compiler it looked like this:
^%&$ typedef ...
pinpointed the problem in no time :P
az.
--
Aaron Ardiri
Java Certified Programmer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 656 1143 A/H: +46 8 668 78 72
if you enjoy it, then it aint work :) - rule #106 of life
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html