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 Version 1

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

Description (last modified by Thierry Delisle)

The following code :

#include <monitor.hfa>
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 (1)

comment:1 Changed 6 years ago by Thierry Delisle

Description: modified (diff)
Note: See TracTickets for help on using tickets.