On Sun, Dec 01, 2002 at 05:32:18PM -0800, David Wheeler wrote:
> Tim,
>
> Got just one warning with the new 1.32 release on Mac OS X 10.2.2:
>
> In file included from DBI.xs:1355:
> DBI.xs: In function `dbih_set_attr_k':
> DBI.xs:536: warning: passing arg 0 of `set_trace' from incompatible pointer type
Uh, that one had been reported but I lost the plot before the release.
I'm pretty sure it's not significant. Does this fix it?
--- DBI.xs 2002/12/01 22:34:29 11.19
+++ DBI.xs 2002/12/02 09:50:21
@@ -1352,7 +1352,7 @@
DBIc_set(imp_xxh,DBIcf_BegunWork, on);
}
else if (keylen==10 && strEQ(key, "TraceLevel")) {
- set_trace(h, SvIV(valuesv), Nullch);
+ set_trace(h, SvIV(valuesv), Nullsv);
}
else if (keylen==9 && strEQ(key, "TraceFile")) { /* XXX undocumented and
readonly */
set_trace_file(valuesv);
Tim [who ought to upgrade his compiler]