Hi all,
I've met a strange error message while compiling my program using
gcc.(attached below)
i have compiled this file under cw, and it passed well.
i'm new to palm programming, have any one met such problem or any suggestion
about it?
Thank you very much!
Carol
[EMAIL PROTECTED] v2]$ make
m68k-palmos-gcc -O2 -I/opt/palmdev/sdk-5r3/include/Extensions/Bluetooth -c
SerialMain.c -o SerialMain.o
SerialMain.c: In function `AppHandleEvent':
SerialMain.c:710: internal error--unrecognizable insn:
(insn 101 99 102 (set (reg:SI 44)
(pc)) -1 (nil)
(nil))
make: *** [SerialMain.o] Error 1
the error line it pointed to is the normal code we used as follows:
// AppEventLoop
// This routine is the event loop for the application.
static void AppEventLoop(void)
{
UInt16 error;
EventType event;
do {
EvtGetEvent(&event, evtWaitForever);
if (!SysHandleEvent(&event))
{
if (!MenuHandleEvent(0, &event, &error))
{
if (!AppHandleEvent(&event))
FrmDispatchEvent(&event);
}
}
} while (event.eType != appStopEvent);
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/