Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Errors and warnings building latest xHarbour

202 views
Skip to first unread message

Enrico Maria Giordano

unread,
Jun 29, 2023, 4:09:35 AM6/29/23
to
Warning W8004 source\pp\ppgen.c 717: 'szUTC' is assigned a value that is
never used in function hb_pp_parseChangelog

Warning W8056 obj\b32\comptool.c 631: Integer arithmetic overflow in
function hb_verCvsID

Warning W8056 obj\b32\hbrc.c 359: Integer arithmetic overflow in
function main
Warning W8056 obj\b32\hbrc.c 360: Integer arithmetic overflow in
function main
Warning W8056 obj\b32\hbrc.c 380: Integer arithmetic overflow in
function main
Warning W8056 obj\b32\hbrc.c 384: Integer arithmetic overflow in
function main

Error harbour.exe.rc 3 0: Too many digits in a number

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Enrico Maria Giordano

unread,
Jun 29, 2023, 6:30:04 AM6/29/23
to
And this is what I get using this batch for MSC32 (works fine with
xHarbour from SVN):

@ ECHO OFF

SET MSC=e:\msc32\msc
SET XHB=e:\msc32\xharbour

SET __MSC__=1
SET USE_MSVCRT=1

SET CC_DIR=%MSC%

SET CFLAGS=-O1

SET INCLUDE=%MSC%\include\ucrt;%MSC%\include;%MSC%\include\sdk
SET LIB=%MSC%\lib;%MSC%\lib\sdk

SET HB_DIR_OPENSSL=e:\xhbsvn\openssl-win32

SET HB_GUI=1
SET HB_NO_BACKGROUND=1
SET HB_NO_DV_MEMCPY=1
SET HB_NO_FM_DL_ALLOC=1
SET HB_NO_VM_ALL=1

CALL make_vc clean
CALL make_vc core
CALL make_vc contrib

PAUSE


Result:

Removing System and Object Files ...
Removing DLL and Object Files ...
Removing Contrib Libraries and Object Files ...
Done ...

****** End of Job *****
\NVIDIA non atteso.

kenny.ooi

unread,
Jun 29, 2023, 7:11:58 AM6/29/23
to
hi,
I have similer error while compile with borland C compiler!

the harbour.exe.rc contain ,
FILEVERSION 1,2,3,202306051208
PRODUCTVERSION 1,2,3,202306051208
maybe borland c resource compiler not support integer value 202306051208,or vc ignore the error.

CV

unread,
Jun 29, 2023, 8:38:20 AM6/29/23
to
Hi Enrico

I have just downloaded the sources from xharbour.org site and find that the modified versions of the source files recently touched by Ron Pinkas are not included in the ZIP file, and also there is no INCLUDE folder on it (just CONTRIB and SOURCE folders), no .bats, no changelog, nothing else.

Could it be the reason for the errors?

Regards
--
Claudio Voskian
Buenos Aires - Argentina

Enrico Maria Giordano

unread,
Jun 29, 2023, 10:00:02 AM6/29/23
to


Il 29/06/2023 14:38, CV ha scritto:

> Hi Enrico
>
> I have just downloaded the sources from xharbour.org site and find that the modified versions of the source files recently touched by Ron Pinkas are not included in the ZIP file, and also there is no INCLUDE folder on it (just CONTRIB and SOURCE folders), no .bats, no changelog, nothing else.

Try again. Now the link points to the github repository download.

> Could it be the reason for the errors?

Don't think so.

kenny.ooi

unread,
Jun 30, 2023, 2:51:36 AM6/30/23
to
On Thursday, June 29, 2023 at 4:09:35 PM UTC+8, Enrico Maria Giordano wrote:
hi Enrico Maria Giordano,

to compile with bcc need to change the source code in hbrc.c ...
************************
#if defined( __BORLANDC__ )
fprintf( h, "FILEVERSION %d,%d,%d\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION );
fprintf( h, "PRODUCTVERSION %d,%d,%d\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION );
#else
fprintf( h, "FILEVERSION %d,%d,%d,%lld\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION,HB_VER_CVSID );
fprintf( h, "PRODUCTVERSION %d,%d,%d,%lld\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION,HB_VER_CVSID );
#endif
******************
the HB_VER_CVSID has too large int value.


kenny

Enrico Maria Giordano

unread,
Jun 30, 2023, 3:59:39 AM6/30/23
to


Il 30/06/2023 08:51, kenny.ooi ha scritto:

> hi Enrico Maria Giordano,
>
> to compile with bcc need to change the source code in hbrc.c ...
> ************************
> #if defined( __BORLANDC__ )
> fprintf( h, "FILEVERSION %d,%d,%d\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION );
> fprintf( h, "PRODUCTVERSION %d,%d,%d\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION );
> #else
> fprintf( h, "FILEVERSION %d,%d,%d,%lld\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION,HB_VER_CVSID );
> fprintf( h, "PRODUCTVERSION %d,%d,%d,%lld\n", HB_VER_MAJOR,HB_VER_MINOR,HB_VER_REVISION,HB_VER_CVSID );
> #endif
> ******************
> the HB_VER_CVSID has too large int value.

Thank you. Ron, can you fix it?

Enrico Maria Giordano

unread,
Jul 6, 2023, 10:41:27 AM7/6/23
to
Ron, can you fix the errors and warnings that I have reported? I cannot
make the new xHarbour builds otherwise.

Ron Pinkas

unread,
Jul 8, 2023, 1:49:50 PM7/8/23
to
Hi Enrico,
I am currently traveling, and also I do not have a machine with Borland - I believe it will be best if whom ever came with the fix commit it - who should we give the write access to?

Ron

Ron Pinkas

unread,
Jul 20, 2023, 10:52:05 AM7/20/23
to
> > Ron, can you fix the errors and warnings that I have reported? I cannot
> > make the new xHarbour builds otherwise.

> I am currently traveling, and also I do not have a machine with Borland - I believe it will be best if whom ever came with the fix commit it - who should we give the write access to?

?
0 new messages