Sto cercando di costruire harbour scaricando i sorgenti dal repository vszakats/hb ma utilizzando mingw32 from
http://winlibs.com/ (winlibs-x86_64-posix-seh-gcc-10.2.0-mingw-w64-8.0.0-r5.7z) ottengo numerosi messaggio di attenzione e degli errori nel creazione della libreria che bloccano il processo.
C'è qualcuno che mi possa aiutare?
Ecco alcuni messaggi:
2021-01-14 11:07:06.893 gcc -I. -I../../../../../include -c -W -Wall -Wlogical-op -Wduplicated-cond -Wshift-negative-value -Wnull-dereference -O3 -fno-ident -m64 -DUNICODE -DHB_GC_AUTO -DHB_GUI -DHB_NO_TRACE -DHB_MEMO_SAFELOCK -oexproptb.o ../../../exproptb.c
2021-01-14 11:07:07.277 In file included from ../../../exproptb.c:5:
2021-01-14 11:07:07.277 ../../../../../include/hbexprb.c: In function 'hb_compExprUseFunCall':
2021-01-14 11:07:07.279 ../../../../../include/hbexprb.c:1953:38: warning: potential null pointer dereference [-Wnull-dereference]
2021-01-14 11:07:07.280 1953 | if( pCount->ExprType <= HB_ET_FUNREF &&
2021-01-14 11:07:07.281 | ~~~~~~^~~~~~~~~~
2021-01-14 11:07:07.282 ../../../../../include/hbexprb.c:1951:33: warning: potential null pointer dereference [-Wnull-dereference]
2021-01-14 11:07:07.283 1951 | pArg = pArg->pNext;
2021-01-14 11:07:07.284 | ~~~~~^~~~~~~~~~~~~
2021-01-14 11:07:07.808 gcc -I. -I../../../../../include -c -W -Wall -Wlogical-op -Wduplicated-cond -Wshift-negative-value -Wnull-dereference -O3 -fno-ident -m64 -DUNICODE -DHB_GC_AUTO -DHB_GUI -DHB_NO_TRACE -DHB_MEMO_SAFELOCK -ogenc.o ../../../genc.c
2021-01-14 11:07:07.858 ../../../genc.c: In function 'hb_p_jumpnear':
2021-01-14 11:07:07.877 ../../../genc.c:827:28: warning: format '%i' expects argument of type 'int', but argument 3 has type 'HB_ISIZ' {aka 'long long int'} [-Wformat=]
2021-01-14 11:07:07.879 827 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.880 | ^~~~~~~~ ~~~~~~~
2021-01-14 11:07:07.881 | |
2021-01-14 11:07:07.882 | HB_ISIZ {aka long long int}
2021-01-14 11:07:07.884 ../../../genc.c:827:45: note: format string is defined here
2021-01-14 11:07:07.885 827 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.886 | ~~~~~~~~~~~^
2021-01-14 11:07:07.887 | |
2021-01-14 11:07:07.888 | int
2021-01-14 11:07:07.889 | %" HB_PFS "lli
2021-01-14 11:07:07.890 ../../../genc.c:827:28: warning: unknown conversion type character 'I' in format [-Wformat=]
2021-01-14 11:07:07.891 827 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.892 | ^~~~~~~~
2021-01-14 11:07:07.893 In file included from ../../../../../include/hbvmpub.h:50,
2021-01-14 11:07:07.894 from ../../../../../include/hbapi.h:55,
2021-01-14 11:07:07.895 from ../../../../../include/hbcomp.h:50,
2021-01-14 11:07:07.895 from ../../../genc.c:23:
2021-01-14 11:07:07.896 ../../../../../include/hbdefs.h:725:23: note: format string is defined here
2021-01-14 11:07:07.897 725 | # define PFLL "I64"
2021-01-14 11:07:07.897 | ^
2021-01-14 11:07:07.898 ../../../genc.c:827:28: warning: too many arguments for format [-Wformat-extra-args]
2021-01-14 11:07:07.899 827 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.900 | ^~~~~~~~
2021-01-14 11:07:07.901 ../../../genc.c: In function 'hb_p_jump':
2021-01-14 11:07:07.901 ../../../genc.c:842:28: warning: format '%i' expects argument of type 'int', but argument 3 has type 'HB_ISIZ' {aka 'long long int'} [-Wformat=]
2021-01-14 11:07:07.902 842 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.903 | ^~~~~~~~ ~~~~~~~
2021-01-14 11:07:07.904 | |
2021-01-14 11:07:07.905 | HB_ISIZ {aka long long int}
2021-01-14 11:07:07.906 ../../../genc.c:842:45: note: format string is defined here
2021-01-14 11:07:07.906 842 | fprintf( cargo->yyc, "\t/* %" HB_PFS "i (abs: %05" HB_PFS "i) */", nOffset, ( HB_ISIZ ) ( nPCodePos + nOffset ) );
2021-01-14 11:07:07.907 | ~~~~~~~~~~~^
2021-01-14 11:07:07.908 | |
2021-01-14 11:07:07.909 | int
2021-01-14 11:07:07.910 | %" HB_PFS "lli
...quello finale è:
2021-01-14 11:10:09.934 e:/mgm64/comp/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: .\../../../../../src/rtl/obj/win/mingw64/hbzsock.o:hbzsock.c:(.text+0xb52): undefined reference to `inflate'
2021-01-14 11:10:10.052 collect2.exe: error: ld returned 1 exit status
2021-01-14 11:10:10.060 mingw32-make[3]: *** [../../../../../config/
dyn.mk:118: harbour-34-x64.dll] Error 1
2021-01-14 11:10:10.067 mingw32-make[2]: *** [../../config/
dyn.mk:114: descend] Error 2
2021-01-14 11:10:10.073 mingw32-make[1]: *** [../config/
dir.mk:71: dynlib] Error 2
2021-01-14 11:10:10.075 mingw32-make: *** [config/
dir.mk:71: src] Error 2
Posso fornire l'output completo del processo di costruzione.
Grazie!