markcox / game-music-emu

Automatically exported from code.google.com/p/game-music-emu
GNU Lesser General Public License v2.1
0 stars 0 forks source link

zlib support improvements #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. AFAICT, zlib support cannot be enabled from CMake. Not really an issue, but 
would be nice since it'd be such a simple fix.
2. After enabling HAVE_ZLIB_H in blargg_config.h and trying to compile with the 
CMake generated Makefiles, g++ complains of 'invalid conversion of void* to 
gzFile' in Data_Reader.cpp (it's the variable 'file_' in 4 places starting at 
line 293). For the moment, I just put a C-style cast in these 4 places and it 
stopped complaining (rather than compiling with -fpermissive).

Original issue reported on code.google.com by thatcad...@gmail.com on 27 Jun 2013 at 4:17

GoogleCodeExporter commented 9 years ago
I should clarify that this conversion complaint halts compilation; you either 
must cast or compile with -fpermissive AFAIK.

Original comment by thatcad...@gmail.com on 27 Jun 2013 at 4:18

GoogleCodeExporter commented 9 years ago
Patch attached to fix compilation.

Original comment by exob...@gmail.com on 25 Feb 2014 at 4:26

Attachments: