Author
anonymous
almost 8 years ago
$
prog.cc: In function 'int main()': prog.cc:6:9: warning: '~' on an expression of type bool [-Wbool-operation] if (~foo) { ^~~ prog.cc:6:9: note: did you mean to use logical not ('!')? This can be bad...
prog.cc: In function 'int main()': prog.cc:6:9: warning: '~' on an expression of type bool [-Wbool-operation] if (~foo) { ^~~ prog.cc:6:9: note: did you mean to use logical not ('!')?
This can be bad...