Thanks, John - Boy do I feel stupid - C is not my mother language, so I should have caught the "=", but didn't.

John Marshall wrote:

Joshua Richie <[EMAIL PROTECTED]> wrote:

I am trying to use the Garmin SDK with GCC


Man, am I sick of SDKs that require you to register before you can
download them :-(.  Fortunately this one doesn't ask for too many
details...


Anybody have any idea's how to fix this warning, or what it means? warning: possibly bad __callseq__ `trap #15; dc.w = 0xA805'


It means the usual thing: Garmin have followed an out-of-date sample
of how to arrange shared library headers that doesn't support GCC
developers out of the box.  Happily it's very very easy for them
(or you) to fix this so that the headers work with both CW and GCC
just fine:

http://www.escribe.com/computing/pcpqa/m47622.html

It would appear that you've already done something like this (otherwise
the warnings would be complaining about "trap #15; dc.w gpsLibTrapClose"
and so on) and that you've changed GPSLibSysTrapNums.h's first entry
to be something like

#define gpsLibTrapClose = sysLibTrapCustom

Clearly the thing to do is to get rid of the "=" :-).

John



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to