this is famous problem and it was mentioned more then once
palm makes headers for codewarrior only, for prc tools you must do some little
changes. one of them is that trap definitions can't be enums, you must rewrite
them to defines
for example, from kHsSoundLibTrapOpen=1 make #define kHsSoundLibTrapOpen 1
[EMAIL PROTECTED] wrote:
Hi there,
When I build my PODS project including the HsSndLib.h I have these problems:
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:72: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapOpen'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:79: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapClose'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:86: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapGetVersion'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:95: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapPortGetInfo'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:106: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapPortSetParam'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:116: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapSwitchGetPort'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:126: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapSwitchSetPort'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:137: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapTonePlay'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:144: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapToneStop'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:155: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapFormatPlay'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:167: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapFormatRecord'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:176: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapGetUserVolume'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:185: warning: possibly bad
__callseq__ `trap #15; dc.w kHsSoundLibTrapSetUserVolume'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:195: warning: possibly bad
__callseq__ `trap #15; dc.w kPmSoundLibTrapClkGetTicksPerSecond'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:204: warning: possibly bad
__callseq__ `trap #15; dc.w kPmSoundLibTrapClkGetTickCount'
/PalmDev/sdk-5r4/include/Libraries/HsSoundLib.h:215: warning: possibly bad
__callseq__ `trap #15; dc.w kPmSoundLibTrapGetPosition'
I already updated my SDK to the Palm OS Platform SDK (v.5.6).
We don't have the same problem on CodeWarrior, do we? I'm thinking
it is just a problem for PODS. Someone already have these problems before? I'm looking for a help in the net, but.. I didn't found yet.
Tks,
Everton Zanon
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/