Opened 6 years ago

Last modified 2 years ago

#95 assigned defect

Incorrect consideration of global and local variables in resolving waitfor mutex object. — at Initial Version

Reported by: Thierry Delisle Owned by: Thierry Delisle
Priority: major Component: cfa-cc
Version: 1.0 Keywords: resolver
Cc:

Description

The following code :

#include <monitor>
monitor M { condition e; } m;
void rtn( M & mutex m );
void bar( M & mutex m ) {
 	waitfor( rtn, m ); // not ambiguous, select parameter
}

Produces the following error:

cfa test.c
CFA Version 1.0.0 (debug)
test.c:92:1 error: Ambiguous function in call to waitfor

Change History (0)

Note: See TracTickets for help on using tickets.