I know you are suppose to use the latest SDK even if you are developing
software for older version of the OS, but if I am using SDK 4.0 and I am
developing for 3.0 and above how can I tell that I am calling function that
is not in the 3.0 OS? I know I get a runtime error if I try and call it and
I could go and lookup every function every time that I use it, but it seems
like the compiler should be able to tell me.
I am using gcc and I can us the -palmos30 switch (which does not come up
when I type m68k-palmos-gcc --help), but then I am no longer using the
latest SDK. I guess I could compile once with the 3.0 to find out if I am
using anything that is not allowed, and then compile with 4.0 when I am
ready to compile for real but then it would complain about stuff like
if (os>3.5)
// do 3.5 stuff
else
// do 3.0 stuff
What's the "correct" way to do it?
-james
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/