In my app, I needed to use the Handspring headers.  So I got them, and put 
them in.  Now I get a redefine warning for the following define 
statement....

(In PalmTypes.h)
#define _OS_CALL_WITH_UNPOPPED_16BIT_SELECTOR(table, vector, selector) \
    __attribute__ ((__callseq__ ( \
    "move.w #" _PalmTypes_OS_CALL_Str(selector) ",-(%%sp); " \
    "trap #" _PalmTypes_OS_CALL_Str(table) "; dc.w " 
_PalmTypes_OS_CALL_Str(vector))))

(In HsExt.h - redef location)
#define _OS_CALL_WITH_UNPOPPED_16BIT_SELECTOR(table, vector, selector) \
  __attribute__ ((__callseq__ (          \
   "move.w #" _Str(selector) ",-(%%sp); "       \
   "trap #" _Str(table) "; dc.w " _Str(vector))))

I dont know much about what this define is used for, so I dont know if it is 
safe to remove the one in Hs.  What is the best way to deal with this 
problem, or is it not going to be a problem at all???
-- 


Scott Erickson
Software Development Team, FB-4, Inc.
[EMAIL PROTECTED] 



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

Reply via email to