error compiling harbour with mingw 32 and 64 bits (version 15.1)

57 views
Skip to first unread message

carloskds

unread,
Oct 10, 2025, 5:13:54 PM (6 days ago) Oct 10
to Harbour Users
(ar

rcs .. / .. / .. / .. / .. /lib/win/mingw/libhbcplr.a @ __ lib __. tmp ) || ( del /q /f .. \ .. \ .. \ .. \ .. \lib\win\mingw\libhbcplr.a && mkdir . 2> nul )
1 archivo(s) copiado(s)

gcc

-I. -I .. / .. / .. / .. / .. /include -W -Wall -03 -fomit-frame-pointer -march=i586 -mtune=pentiumpro
-DUNICODE

-oharbour. o -c .. / .. / .. /harbour.c

windres -I. -I .. / .. / .. / .. / .. /include -0 coff -o harbour.res .. / .. / .. /harbour.rc
gcc -L .. / .. / .. / .. / .. /lib/win/mingw -L .. / .. / .. / .. / .. /lib/3rd/win/mingw

-o .. \ .. \ .. \ .. \ .. \bin\win\mingw\harbour. exe harbour. o harbour.res -lhbcplr -Lhbpp
Lhbnortl -lhbcommon -lunicows -lwinmm -lkernel32 -luser32 -lws2_32 -liphlpapi -ladvapi32 -lgdi32
1 archivo(s) copiado(s)

gcc

-I. -I .. / .. / .. / .. / .. /include -W -Wall -03 -fomit-frame-pointer -march=i586 -mtune=pentiumpro -DUNICODE -ohvmall. o -c .. / .. / .. /hvmall.c
In file included from .. / .. / .. /hvmall.c:105:
.. / .. / .. /macro.c: In function 'hb_macroTextSymbol':
.. / .. / .. /macro.c: 748:38: warning: 'memcpy' specified bound 4294967295 exceeds maximum object size 2147483647 [-Wstringop-overflow=]
748

szResult = ( char * ) memcpy( hb_xgrab( nLength + 1 )

749

szString, nLength );

gcc

-I. -I .. / .. / .. / .. / .. /include -W -Wall -03 -fomit-frame-pointer -march=i586 -mtune=pentiumpro
-I. -I .. / .. / .. / .. / .. /include -W -Wall -03 -fomit-frame-pointer -march=i586 -mtune=pentiumpro

-DUNICODE

-oarrayshb.o -c .. / .. / .. /arrayshb.c

carloskds

unread,
Oct 10, 2025, 5:14:26 PM (6 days ago) Oct 10
to Harbour Users
no is error, is a warning. sorry.
Reply all
Reply to author
Forward
0 new messages