diff options
| author | Tom Lane | 2004-10-24 00:54:12 +0000 |
|---|---|---|
| committer | Tom Lane | 2004-10-24 00:54:12 +0000 |
| commit | 9b3fc492d36a3e215809535e90d402dbeee41966 (patch) | |
| tree | 6941dce2b01df0e61618c69d587332a9ca085a23 /configure | |
| parent | 8b9aaea88822432e9ca3cd43d23ea815ec48a4fa (diff) | |
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.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure index 5eaa809ae88..a96ff78d0ef 100755 --- a/configure +++ b/configure @@ -13606,8 +13606,10 @@ rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext # We find them by checking stderror. cat >conftest.$ac_ext <<_ACEOF int -main () +main (int argc, char **argv) { + (void) argc; + (void) argv; return 0; } _ACEOF |
