Is it a known issue that ~ does not work?
somevalue = ((~x) & (z));
get compiled in brcc without errors/warnings, but during c++ compilation of generated cpp file, I'm getting:
error C2675: unary '~' : '__BrtInt1' does not define this operator or a conversion to a type acceptable to the predefined operator
Now I am using a workaround (((-1)^x) & (z)), but I afraid it might have performance penalty :-(
Retrieving data ...