If we're going to test for switch validity by observing whether the
compiler emits any warnings, the test program had better be 100% correct, not only 90% correct. The recent addition of -Wold-style-definition broke thread-safety detection on every platform that has that switch, because the test program used an old-style definition.
Showing
Please register or sign in to comment