On Wed, Nov 14, 2001 at 05:31:05PM +1100, Michael Glickman wrote:
> When trying to compile my project with #include <SonyCLIE.h>  
[...]
> ...warning: possibly bad __callseq__ `trap #15; dc.w RmcLibTrapRegister'
> 
> The analysis however shows that the problem is probably related to
> incompatibility Sony headers with the latest PRC tools and sdk-4.

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

In that posting I suggested that Sony had followed an older Palm sample.
I thought the SampleLib in the 4.0 SDK examples had been updated to avoid
using enums inside its SAMPLE_LIB_TRAP macro, but it seems I was mistaken.
I hope Palm will make this change for the next SDK.

> I got rid of all warning messages by forsing the "old style" definition,
> e.g.
> 
>       #define HR_TRAP(trapNum)        __attribute__ ((systrap (trapNum)))

The documentation has noted that the "systrap" attribute is deprecated
for about two years now, and it *will* disappear within the next three
or so prc-tools versions.  Its days are numbered.

    John

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

Reply via email to