Commit 9b3fc49
committed
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.1 parent 8b9aaea commit 9b3fc49
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
| 139 | + | |
| 140 | + | |
139 | 141 | | |
140 | 142 | | |
141 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13606 | 13606 | | |
13607 | 13607 | | |
13608 | 13608 | | |
13609 | | - | |
| 13609 | + | |
13610 | 13610 | | |
| 13611 | + | |
| 13612 | + | |
13611 | 13613 | | |
13612 | 13614 | | |
13613 | 13615 | | |
| |||
0 commit comments