Skip Menu |
 

This queue is for tickets about the Compress-Raw-Zlib CPAN distribution.

Report information
The Basics
Id: 75151
Status: resolved
Priority: 0/
Queue: Compress-Raw-Zlib

People
Owner: Nobody in particular
Requestors: hsk [...] fli-leibniz.de
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 2.049
Fixed in: 2.050



Subject: compilation of module fails
Download (untitled) / with headers
text/plain 989b
on irix 6.5.30, using mipspro 7.4.4 compiler, compilation of module Compress-Raw-Zlib-2.049 fails (using zlib-1.2.6 from /usr/local; obviously using supplied zlib-src fails also): cc -n32 -mips3 -c -I./zlib-src -n32 -mips3 -c99 -O3 -OPT:Olimit=0 -D_BSD_TYPES -D_BSD_TIME -woff 1184,1552 -I/usr/local/include -DLANGUAGE_C -O3 -OPT:Olimit=0:space=ON -DVERSION=\"2.049\" -DXS_VERSION=\"2.049\" "-I/usr/local/lib/perl5/5.14.2/mips3-n32/CORE" -DNO_VIZ -DZ_SOLO -DGZIP_OS_CODE=3 -DUSE_PPPORT_H Zlib.c cc-1117 cc: ERROR File = Zlib.xs, Line = 502 An expression appears after a "return" in a "void" function. return safefree(ptr); ^ imho, this patch should be applied to Zlib.xs: --- Compress-Raw-Zlib-2.049/Zlib.xs Sat Jan 28 13:22:19 MET 2012 +++ Compress-Raw-Zlib-2.049__hsk/Zlib.xs Mon Feb 20 11:32:51 MET 2012 @@ -499,7 +499,8 @@ void my_zcfree (voidpf opaque, voidpf ptr) { - return safefree(ptr); + safefree(ptr); + return; } #endif
Thanks for the patch. I've applied it to my development copy. cheers Paul


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.