2023-12-24 20:46 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* include/hbapi.h
* source/compiler/comptool.c
* source/vm/cmdarg.c
* source/pp/ppgen.c
* Corrected hb_verCvsID() to return ULONGLONG instead of long long int
* source/pp/ppgen.c
Corrected sufix of 64bit version consttants from LL to UL
Il 25/12/2023 02:55, Ron Pinkas ha scritto:
2023-12-24 20:46 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
* include/hbapi.h
* source/compiler/comptool.c
* source/vm/cmdarg.c
* source/pp/ppgen.c
* Corrected hb_verCvsID() to return ULONGLONG instead of long long int
* source/pp/ppgen.c
Corrected sufix of 64bit version consttants from LL to UL
Ron, have you any ideas about how to fix this warning?
Warning W8056 obj\b32\comptool.c 631: Integer arithmetic overflow in
function hb_verCvsID
Ron, have you any ideas about how to fix this warning?
Warning W8056 obj\b32\comptool.c 631: Integer arithmetic overflow in
function hb_verCvsID
I think you just needed a CLEAN build.
Il 25/12/2023 18:04, Ron Pinkas ha scritto:
Ron, have you any ideas about how to fix this warning?
Warning W8056 obj\b32\comptool.c 631: Integer arithmetic overflow in function hb_verCvsID
I think you just needed a CLEAN build.
Already done. Do you think it is wise to just silence that warning? Or
is it better to proper declare this
#define HB_VER_CVSID 202312251935UL
as this other?
#define HB_VER_CVSID 202312251935ULL
Please confirm. This is a sample working fine with MSC and BCC:
#include <stdio.h>
#define HB_VER_CVSID 202312251935ULL
int main()
{
printf( "%lld\n", HB_VER_CVSID );
return 0;
}
Please check after: 2023-12-25 22:43 UTC-0500 Ron Pinkas <ronpinkas/AT/gmail/com>
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 766 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 02:00:10 |
| Calls: | 12,764 |
| Calls today: | 2 |
| Files: | 15,363 |
| Messages: | 6,557,238 |