Hi

Thank you for the report. I will see what I can do with the patches,
because for a long time there is no update
to the project and it is left to Linux distributions to keep it going.

Best regards

Kriang

On Mon, Nov 4, 2019 at 8:47 PM Ryan Schmidt ryandesign@users.sourceforge.net wrote:


Status: open
Group:
Created: Mon Nov 04, 2019 01:47 PM UTC by Ryan Schmidt
Last Updated: Mon Nov 04, 2019 01:47 PM UTC
Owner: nobody
Attachments:

kcd 7.15.0 fails to build on macOS with zlib 1.2.11 installed using
MacPorts:

./dirtree.cc:173:4: error: no matching function for call to 'gzclose'
gzclose(file);
^~~~~~~/opt/local/include/zlib.h:1630:24: note: candidate function not viable: no known conversion from 'FILE ' (aka '__sFILE ') to 'gzFile' (aka 'gzFile_s ') for 1st argumentZEXTERN int ZEXPORT gzclose OF((gzFile file));
^
./dirtree.cc:178:4: error: no matching function for call to 'gzclose'
gzclose(file);
^~~~~~~/opt/local/include/zlib.h:1630:24: note: candidate function not viable: no known conversion from 'FILE
' (aka '__sFILE ') to 'gzFile' (aka 'gzFile_s ') for 1st argumentZEXTERN int ZEXPORT gzclose OF((gzFile file));
^2 errors generated.

Looks like a simple typo which went unnoticed in earlier versions of zlib
which defined gzFile differently. The attached path allows the program to
compile.


Sent from sourceforge.net because you indicated interest in
https://sourceforge.net/p/kcd/patches/3/

To unsubscribe from further messages, please visit
https://sourceforge.net/auth/subscriptions/

 

Related

Patches: #3