On Tue, 18 Apr 2017, oleksa wrote:
Hi,
> ../../../../../contrib/hbmzip/mzip.c: In function 'HB_FUN_HB_ZIPOPEN':
> ../../../../../contrib/hbmzip/mzip.c:240:7: error: unknown type name 'zipcharpc'
> zipcharpc pszGlobalComment = NULL;
> ^~~~~~~~~
> ../../../../../contrib/hbmzip/mzip.c:243:34: warning: passing argument 3 of 'zipOpen2' from incompatible pointer type [-Wincompatible-pointer-types]
> &pszGlobalComment, NULL );
> ^
> In file included from ../../../../../contrib/hbmzip/mzip.c:64:0:
> c:/msys32/mingw32/include/minizip/zip.h:106:24: note: expected 'const char **' but argument is of type 'int *'
> extern zipFile ZEXPORT zipOpen2 OF((const char *pathname, int append, const char ** globalcomment,
> ^~~~~~~~
Please read what you have in logs instead of sending
them here.
You installed in your system some other version of
minizip in c:/msys32/mingw32/include/minizip/
and this version does not contain zipcharpc definition.
Uninstall it or force using minizip included in
Harbour repository by:
export HB_WITH_MINIZIP=local
in shell environment or in case of
COMMAD.COM/CMD.EXE by:
set HB_WITH_MINIZIP=local
best regards,
Przemek