I believe this is by intention. Some people wants that bool variables are treated specially and not used in arithmetic ways. I think it's inspired by Java. Obviously you do not want to have such special handling. Please suppress this warning.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since cppcheck 2.0 false positive occurs with bool bitwise OR:
I believe this is by intention. Some people wants that bool variables are treated specially and not used in arithmetic ways. I think it's inspired by Java. Obviously you do not want to have such special handling. Please suppress this warning.