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:37:28 UTC 2012


tags 664914 +patch
thanks

> 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.





More information about the Pkg-games-devel mailing list