Subject: | Several warnings from compile with gcc 4.0 |
When building PerlIO::gzip with gcc 4.0, several warnings were given.
/usr/bin/perl /usr/share/perl/5.8/ExtUtils/xsubpp -typemap /usr/share/perl/5.8/
ExtUtils/typemap gzip.xs > gzip.xsc && mv gzip.xsc gzip.c
cc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-alia
sing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVER
SION=\"0.17\" -DXS_VERSION=\"0.17\" -fPIC "-I/usr/lib/perl/5.8/CORE" gzip.c
gzip.xs: In function â:
gzip.xs:121: warning: pointer targets in assignment differ in signedness
gzip.xs:125: warning: pointer targets in assignment differ in signedness
gzip.xs: In function â:
gzip.xs:179: warning: pointer targets in assignment differ in signedness
gzip.xs:187: warning: pointer targets in assignment differ in signedness
gzip.xs:218: warning: pointer targets in assignment differ in signedness
gzip.xs: In function â:
gzip.xs:271: warning: pointer targets in assignment differ in signedness
gzip.xs:276: warning: pointer targets in assignment differ in signedness
gzip.xs:436: warning: pointer targets in passing argument 3 of â differ in signe
dness
gzip.xs: In function â:
gzip.xs:1106: warning: pointer targets in passing argument 3 of â differ in sign
edness
gzip.xs:1133: warning: pointer targets in assignment differ in signedness
gzip.xs:1136: warning: pointer targets in passing argument 2 of â differ in sign
edness
gzip.xs: In function â:
gzip.xs:1214: warning: pointer targets in initialization differ in signedness
I'll see if I can come up with a patch for this over the weekend for these problems.