Clang's tautological-constant-out-of-range-compare warnings seem broken. It'll warn on enum values, even though they could have casted...
@cmuratori But clang will warn you about that comparison as if it couldn't possibly happen, when it totes could y'all!
-
-
@cmuratori Is casting an out of range value to enum actually legal/defined behavior? -
@taradinoc It doesn't matter. The point is that it can easily happen, for example when reading off disk. So this warning is misguided. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.