Closed joshuaehill closed 2 years ago
There are a few attempts at treating boolean values as tri-state values containing true, false or -1, and some comparisons are made of boolean values against -1. This is undefined behavior, and on some compilers, a boolean can never equal -1.
There are a few attempts at treating boolean values as tri-state values containing true, false or -1, and some comparisons are made of boolean values against -1. This is undefined behavior, and on some compilers, a boolean can never equal -1.