I've been using hbmk2 for years and never had any problems .
Now with fw 24/08 and BCC77 I have errors with the compilation .
I think the problem is when I have C code in
#pragma BEGINDUMP
......
#pragma ENDDUMP
- Code: Select all Expand view
- hbmk2: Processing local make script: hbmk.hbm
hbmk2: Compiling Harbour sources...
Harbour 3.2.0dev (r2407221137)
Copyright (c) 1999-2021, https://harbour.github.io/
hbmk2: Compiling...
.beta_24\win\bcc\mastrosql.c:
.beta_24\win\bcc\Fatture_XML_SQL_Attive.c:
.beta_24\win\bcc\calldll.c:
Warning W8019 C:\BCC77\Include\windows\sdk\winnt.h 24322: Code has no effect in function TpDestroyCallbackEnviron
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4874: 'Ranges' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4873: 'Index' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4872: 'Bytes' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4934: 'Min' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4933: 'Max' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5135: 'Min' is assigned a value that is never used in function DeviceDsmValidateOutput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5134: 'Max' is assigned a value that is never used in function DeviceDsmValidateOutput
*** 1 errors in Compile ***
.beta_24\win\bcc\funzioni.c:
Warning W8019 C:\BCC77\Include\windows\sdk\winnt.h 24322: Code has no effect in function TpDestroyCallbackEnviron
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4874: 'Ranges' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4873: 'Index' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4872: 'Bytes' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4934: 'Min' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4933: 'Max' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5135: 'Min' is assigned a value that is never used in function DeviceDsmValidateOutput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5134: 'Max' is assigned a value that is never used in function DeviceDsmValidateOutput
Warning W8075 ..\\my_func\\funzioni.prg 5370: Suspicious pointer conversion in function HB_FUN_GETFILEVERSIONINFO
*** 1 errors in Compile ***
.beta_24\win\bcc\ftp_aggiorna.c:
Warning W8019 C:\BCC77\Include\windows\sdk\winnt.h 24322: Code has no effect in function TpDestroyCallbackEnviron
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4874: 'Ranges' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4873: 'Index' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4872: 'Bytes' is assigned a value that is never used in function DeviceDsmAddDataSetRange
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4934: 'Min' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 4933: 'Max' is assigned a value that is never used in function DeviceDsmValidateInput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5135: 'Min' is assigned a value that is never used in function DeviceDsmValidateOutput
Warning W8004 C:\BCC77\Include\windows\sdk\winioctl.h 5134: 'Max' is assigned a value that is never used in function DeviceDsmValidateOutput
Warning W8075 ..\\my_func\\ftp_aggiorna.PRG 644: Suspicious pointer conversion in function HB_FUN_FILETIMES
Warning W8080 ..\\my_func\\ftp_aggiorna.PRG 684: 'bRet' is declared but never used in function HB_FUN_FILETIMES
Warning W8061 ..\\my_func\\ftp_aggiorna.PRG 750: Initialization is only partially bracketed in function HB_FUN_ISADMIN
Warning W8060 ..\\my_func\\ftp_aggiorna.PRG 752: Possibly incorrect assignment in function HB_FUN_ISADMIN
Warning W8060 ..\\my_func\\ftp_aggiorna.PRG 766: Possibly incorrect assignment in function HB_FUN_ISADMIN
Warning W8060 ..\\my_func\\ftp_aggiorna.PRG 776: Possibly incorrect assignment in function HB_FUN_ISADMIN
Warning W8060 ..\\my_func\\ftp_aggiorna.PRG 784: Possibly incorrect assignment in function HB_FUN_ISADMIN
*** 1 errors in Compile ***
****************** Linking errors *
Regards Maurizio