On 15-Feb-06, at 4:23 AM, Tim Bunce wrote:
But is that needed? We're not changing any interfaces here - just
suggesting (strongly) to driver authors that defining
PERL_NO_GET_CONTEXT
is 'best practice'.
The problem is it causes errors if you define it with the current DBI:
[EMAIL PROTECTED] ~/Perl/DBD-SQLite$ make
cc -c -I. -I/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/
-g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-
aliasing -I/usr/local/include -O2 -DVERSION=\"1.11\" -DXS_VERSION=
\"1.11\" "-I/System/Library/Perl/5.8.6/darwin-thread-multi-2level/
CORE" -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -DHAVE_USLEEP=1 SQLite.c
In file included from SQLite.c:126:
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
In function 'dbixst_bounce_method':
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
14: error: 'my_perl' undeclared (first use in this function)
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
14: error: (Each undeclared identifier is reported only once
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
14: error: for each function it appears in.)
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
In function 'dbdxst_bind_params':
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
57: error: 'my_perl' undeclared (first use in this function)
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
In function 'dbdxst_fetchall_arrayref':
/Library/Perl/5.8.6/darwin-thread-multi-2level/auto/DBI/Driver_xst.h:
78: error: 'my_perl' undeclared (first use in this function)
make: *** [SQLite.o] Error 1