I am attempting to test my gcc/sdk installation so I wrote a quick program that I
thought would work. If someone could please
explain why I am getting the following errors:
all I wanted to produce is an app that does nothing. Just to see if the header files
are setup correctly.
$ m68k-palmos-gcc test.c -palmos3.5 -o test
test.c:5: parse error before `PilotMain'
test.c:5: parse error before `cmd'
test.c:6: conflicting types for `PilotMain'
/usr/local/palmdev/sdk-3.5/include/Core/System/SystemMgr.h:856: previous declaration
of `PilotMain'
Code:
#include <PalmOS.h>
DWord PilotMain (Word cmd, Ptr cmdPBP, Word launchFlags)
{
int error;
return 0;
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/