I am trying to use splint with PalmOS source code, but one of the Palm header files causes problems I cannot seem to get around.

PalmOS System calls (and other shared library calls) are implemented with functions declared using the syntax:

Retval SomeFunction(parameters ....) SYS_TRAP(trapnum);

It seems that the SYS_TRAP macro at the end causes:

Parse Error:
New function scope inside function.

Does anyone have a suggestion on a bypass for this?

Tom Link

_______________________________________________
splint-discuss mailing list
[EMAIL PROTECTED]
http://www.splint.org/mailman/listinfo/splint-discuss

Reply via email to