Thanks. There're harmless but I've fixed them for the next release.

Tim.

On Sat, Nov 30, 2002 at 11:33:38AM -0800, David Wheeler wrote:
> I got some warnings while compiling DBI 1.31 on Mac OS X 10.2.2. Here's 
> the version of gcc I'm using:
> 
> mercury% cc -v
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> Thread model: posix
> Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 
> 20020420 (prerelease)
> 
> ....and the warnings:
> 
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  
> -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap  Perl.xs > 
> Perl.xsc && mv Perl.xsc Perl.c
> cc -c   -I/sw/include -pipe -fno-common -no-cpp-precomp 
> -fno-strict-aliasing -O3   -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\"  
> "-I/usr/local/lib/perl5/5.8.0/darwin/CORE"  -Wall -Wno-comment 
> -DDBI_NO_THREADS Perl.c
> Perl.xsi: In function `XS_DBD__Perl__st__prepare':
> Perl.xsi:303: warning: operation on `lna' may be undefined
> Perl.xsi: In function `XS_DBD__Perl__st_bind_param':
> Perl.xsi:339: warning: operation on `lna' may be undefined
> Perl.xsi: In function `XS_DBD__Perl__st_bind_param_inout':
> Perl.xsi:375: warning: operation on `lna' may be undefined
> /usr/local/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp  
> -typemap /usr/local/lib/perl5/5.8.0/ExtUtils/typemap  DBI.xs > DBI.xsc 
> && mv DBI.xsc DBI.c
> cc -c   -I/sw/include -pipe -fno-common -no-cpp-precomp 
> -fno-strict-aliasing -O3   -DVERSION=\"1.31\" -DXS_VERSION=\"1.31\"  
> "-I/usr/local/lib/perl5/5.8.0/darwin/CORE"  -Wall -Wno-comment 
> -DDBI_NO_THREADS DBI.c
> 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
> DBI.xs: In function `XS_DBD_____st_bind_col':
> DBI.xs:3366: warning: operation on `lna' may be undefined
> DBI.xs: In function `XS_DBD_____st_bind_columns':
> DBI.xs:3387: warning: operation on `lna' may be undefined
> 
> Regards,
> 
> David
> -- 
> David Wheeler                                     AIM: dwTheory
> [EMAIL PROTECTED]                                 ICQ: 15726394
> http://david.wheeler.net/                      Yahoo!: dew7e
>                                                Jabber: [EMAIL PROTECTED]
> 

Reply via email to