Opened 7 years ago
Last modified 4 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 )
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
Note:
See TracTickets
for help on using tickets.