Bug#664914: desmume: FTBFS: ROMReader.cpp:143:14: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]

peter green plugwash at p10link.net
Wed Apr 4 22:38:50 UTC 2012


tags 664914 +patch
thanks

Sorry forgot to actually attatch it, doing so this time

> ROMReader.cpp: In function 'void GZIPROMReaderDeInit(void*)':
> ROMReader.cpp:143:14: error: invalid conversion from 'void*' to 'gzFile' [-fpermissive]
> /usr/include/zlib.h:1488:24: error:   initializing argument 1 of 'int gzclose(gzFile)' [-fpermissive]

The issue is that zlib has changed the way gzFile is defined meaning
that we now need to explicitly cast from void * to gzFile in c++ code. I
have attatched a patch that adds the nessacery casts.

The patch contains a NMU changelog entry. If I don't get any response
from the maintainer I will ask my AM to upload this as a NMU.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: desmume.diff
Type: text/x-diff
Size: 2810 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20120404/77079e23/attachment.diff>


More information about the Pkg-games-devel mailing list