• Errors and warnings building latest xHarbour

    From Enrico Maria Giordano@21:1/5 to All on Thu Jun 29 10:09:34 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kenny.ooi@21:1/5 to Enrico Maria Giordano on Thu Jun 29 04:11:57 2023
    On Thursday, June 29, 2023 at 4:09:35 PM UTC+8, Enrico Maria Giordano wrote:
    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
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jun 29 12:30:04 2023
    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.

    --
    Enrico Maria Giordano

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From CV@21:1/5 to All on Thu Jun 29 05:38:18 2023
    El jueves, 29 de junio de 2023 a la(s) 05:09:35 UTC-3, Enrico Maria Giordano escribió:
    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

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jun 29 16:00:02 2023
    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.

    --
    Enrico Maria Giordano

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From kenny.ooi@21:1/5 to Enrico Maria Giordano on Thu Jun 29 23:51:34 2023
    On Thursday, June 29, 2023 at 4:09:35 PM UTC+8, Enrico Maria Giordano wrote:
    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
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Jun 30 09:59:37 2023
    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

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Jul 6 16:41:25 2023
    Ron, can you fix the errors and warnings that I have reported? I cannot
    make the new xHarbour builds otherwise.

    --
    Enrico Maria Giordano

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to Enrico Maria Giordano on Sat Jul 8 10:49:48 2023
    On Thursday, July 6, 2023 at 9:41:27 AM UTC-5, Enrico Maria Giordano wrote:
    Ron, can you fix the errors and warnings that I have reported? I cannot
    make the new xHarbour builds otherwise.
    --
    Enrico Maria Giordano

    http://www.emagsoftware.it
    http://www.emagsoftware.it/emgmusic
    http://www.emagsoftware.it/spectrum
    http://www.emagsoftware.it/tbosg
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ron Pinkas@21:1/5 to All on Thu Jul 20 07:52:03 2023
    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?

    ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)