If we're going to test for switch validity by observing whether the
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| config/acx_pthread.m4 | modified | +3 −1 |
| configure | modified | +3 −1 |