• ChangeLog: 2023-08-23 22:16 UTC-0500 Ron Pinkas

    From Ron Pinkas@21:1/5 to All on Wed Aug 23 20:18:29 2023
    2023-08-23 22:16 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * doc/en/file.txt
    * Typo in function name

    * include/hbapifs.h
    * source/rtl/filesys.c
    + Added hb_fsCurDrvDir() to get current drive and directory.

    * include/hbset.h
    + Added member PHB_ITEM hb_set_phTracePathsHash;

    * source/vm/hash.c
    * Minor reduction of code duplication.

    * source/vm/set.c
    + Added logic to HB_SET_TRACEFILE to retain original directory of tracefile
    when specified file name is not a full path and not EXPLICITLY relative.

    * source/rtl/traceprg.prg
    * Removed temporary hack related to retaining the original directory of tracefile.

    * tests/tsttrace.prg
    * Enhanced sample use of TraceLog().

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Thu Aug 24 10:20:47 2023
    Il 24/08/2023 05:18, Ron Pinkas ha scritto:

    2023-08-23 22:16 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * doc/en/file.txt
    * Typo in function name

    * include/hbapifs.h
    * source/rtl/filesys.c
    + Added hb_fsCurDrvDir() to get current drive and directory.

    * include/hbset.h
    + Added member PHB_ITEM hb_set_phTracePathsHash;

    * source/vm/hash.c
    * Minor reduction of code duplication.

    * source/vm/set.c
    + Added logic to HB_SET_TRACEFILE to retain original directory of tracefile
    when specified file name is not a full path and not EXPLICITLY relative.

    * source/rtl/traceprg.prg
    * Removed temporary hack related to retaining the original directory of tracefile.

    * tests/tsttrace.prg
    * Enhanced sample use of TraceLog().

    I get this using MSC32:

    source\vm\set.c(1093): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from
    'void *' to 'char *'
    source\vm\set.c(1093): note: Conversion from 'void*' to pointer to
    non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1102): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from
    'void *' to 'char *'
    source\vm\set.c(1102): note: Conversion from 'void*' to pointer to
    non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1523): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from
    'void *' to 'char *'
    source\vm\set.c(1523): note: Conversion from 'void*' to pointer to
    non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1532): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from
    'void *' to 'char *'
    source\vm\set.c(1532): note: Conversion from 'void*' to pointer to
    non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'

    And this on console:

    NMAKE : fatal error U1077: 'e:\msc32\msc\bin\CL.EXE' : return code '0x2'

    Please 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 Ron Pinkas@21:1/5 to Enrico Maria Giordano on Thu Aug 24 11:20:27 2023
    On Thursday, August 24, 2023 at 3:20:49 AM UTC-5, Enrico Maria Giordano wrote:
    Il 24/08/2023 05:18, Ron Pinkas ha scritto:

    2023-08-23 22:16 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
    * doc/en/file.txt
    * Typo in function name

    * include/hbapifs.h
    * source/rtl/filesys.c
    + Added hb_fsCurDrvDir() to get current drive and directory.

    * include/hbset.h
    + Added member PHB_ITEM hb_set_phTracePathsHash;

    * source/vm/hash.c
    * Minor reduction of code duplication.

    * source/vm/set.c
    + Added logic to HB_SET_TRACEFILE to retain original directory of tracefile
    when specified file name is not a full path and not EXPLICITLY relative.

    * source/rtl/traceprg.prg
    * Removed temporary hack related to retaining the original directory of tracefile.

    * tests/tsttrace.prg
    * Enhanced sample use of TraceLog().
    I get this using MSC32:

    source\vm\set.c(1093): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from 'void *' to 'char *'
    source\vm\set.c(1093): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1102): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from 'void *' to 'char *'
    source\vm\set.c(1102): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1523): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from 'void *' to 'char *'
    source\vm\set.c(1523): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'
    source\vm\set.c(1532): error C2664: 'PHB_ITEM
    hb_itemPutCPtr(PHB_ITEM,char *,HB_SIZE)': cannot convert argument 2 from 'void *' to 'char *'
    source\vm\set.c(1532): note: Conversion from 'void*' to pointer to non-'void' requires an explicit cast E:\FW\Temp\xHarbour\include\hbapiitm.h(125): note: see declaration of 'hb_itemPutCPtr'

    And this on console:

    NMAKE : fatal error U1077: 'e:\msc32\msc\bin\CL.EXE' : return code '0x2'

    Please fix it.

    --
    Enrico Maria Giordano

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

    Sorry, my compiler is not set to produce warnings. Try after: 2023-08-24 13:18 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Enrico Maria Giordano@21:1/5 to All on Fri Aug 25 00:07:40 2023
    Il 24/08/2023 20:20, Ron Pinkas ha scritto:

    Sorry, my compiler is not set to produce warnings.

    My neither. It is make_vc.bat that sets it all.

    Try after: 2023-08-24 13:18 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>

    Ok, no more warnings.

    --
    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)