Pumpkin, Inc.

Pumpkin User Forums

SB-2: Salvo: Multiple Call Graph Errors under HI-TECH PIC C

Service Bulletins -- outlining known problems and how to handle them -- are posted here.

SB-2: Salvo: Multiple Call Graph Errors under HI-TECH PIC C

Postby Salvo Tech Support » Fri Dec 22, 2000 10:48 am

Applies To

Salvo v2.1 full version.

Description of Problem

When using


in salvocfg.h to configure event signaling services to be called from both mainline and interrupt code, the PIC C compiler responds with one or more of the following errors:

Error[ ] file : function _OSSignalXyz appears in multiple call graphs: rooted at intlevel0 and _main

Suggested Workaround

For each Salvo service listed in the error output, add the following lines to the source code, immediately prior to the function definition:

#pragma interrupt_level 0

where XYZ is replaced with BINSEM/SEM/MSG/MSGQ. The #if statement can be extended as required when multiple signaling services are configured to OSFROM_ANYWHERE.

Fixed In

Salvo v2.2.0.

[This message has been edited by Salvo Tech Support (edited January 13, 2002).]

Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am

Return to Service Bulletins

Who is online

Users browsing this forum: No registered users and 1 guest