while building DBI-1.35 with blead-itreads perl I get:


cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -g -DVERSION=\"1.35\" -DXS_VERSION=\"1.35\" -fpic "-I/home/stas/perl/blead-ithread/lib/5.9.0/i686-linux-thread-multi/CORE" -Wall -Wno-comment DBI.c
DBIXS.h:413: warning: `get_dbistate' defined but not used


from DBIXS.h:

static dbistate_t **get_dbistate() {
return ((dbistate_t**)&SvIVX(DBISTATE_ADDRSV));
}
# undef DBIS
# define DBIS (*get_dbistate())
# define dbis (*get_dbistate()) /* temp for bad drivers using 'dbis' instead of 'DBIS' */


it's used but in a peculiar way. Any ideas how to shut this warning?

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to