Acquire doesn't like mutex in structs
Brought to you by:
afanofosc,
afanofosc_99
Hi,
Im working on GNU/Linux with nbc 1.0.1 b32 (the last).
When i do something like that:
struct s{
mutex m;
};
task main(){
s s1;
Acquire(s1.m);
Release(s1.m);
}
Then, the compiler says:
nbc test.nxc
# Error: Undefined Identifier __main__7qG2__s1__7qG2__000.m
File "/home/lab/test.nxc" ; line 8
# Acquire(s1.m)
#----------------------------------------------------------
# Error: Undefined Identifier __main__7qG2__s1__7qG2__000.m
File "/home/lab/test.nxc" ; line 9
# Release(s1.m)
#----------------------------------------------------------
There is anything that i'm doing wrong or it's a bug?
Thanks for your time.
Logged In: NO
sorry, this is duplicated, i just pressed reload on my navigator
sorry, sorry, sorry
Logged In: YES
user_id=661666
Originator: NO
None