Pumpkin, Inc.

Pumpkin User Forums

SB-3: Salvo: OS_WaitXyz()and "inappropriate 'else' "

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

SB-3: Salvo: OS_WaitXyz()and "inappropriate 'else' "

Postby Salvo Tech Support » Thu Jan 11, 2001 9:25 am

Applies To

Salvo v2.1, all versions.

Description of Problem

The compiler will generate an "inappropriate 'else' " error when it encounters the following construct:

if ( test )
OS_WaitXyz(eID, label);

Suggested Workaround

In the salvo.h source file, remove the ';' at the end of each OS_WaitXyz() macro.

Or, use curly braces around OS_WaitXyz(), like this:

if ( test ) {
OS_WaitXyz(eID, label);

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