error using MacPorts zlib, not present with system zlib?

Brandon Allbery allbery.b at gmail.com
Wed Feb 22 19:02:58 PST 2012


On Wed, Feb 22, 2012 at 21:36, Mike Alexander <mta at umich.edu> wrote:

> --On February 22, 2012 4:50:52 PM -0500 Eric Cronin <ecronin at macports.org>
> wrote:
>
>> This code is wrong.  The zlib documentation says gzgetc takes a
>> gzFile* not a void*.
>>
>
>  typedef struct gzFile_s *gzFile;
>
> so it's defined as a pointer.  Some compilers at some warning levels get
> annoyed if you use a gzFile* instead of gzFile for these parameters.


As they well should.

-- 
brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20120222/4df85048/attachment.html>


More information about the macports-users mailing list