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.
# 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
# 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