while trying an update from fwh1202 (with bcc5.82 and xHarbour with harbour.exe from 28.01.2012) to fwh1706 (with bcc7 and xHarbour 1.2.3.10172) I get some errors while compiling:
Error E2451 EHO.c 550: Undefined symbol 'ModuleFakeDyn'
Error E2141 EHO.c 550: Declaration syntax error
Error E2190 EHO.c 550: Unexpected }
Error E2040 EHO.c 550: Declaration terminated incorrectly
Error E2040 EHO.c 1050: Declaration terminated incorrectly
Error E2219 EHO.c 1149: Wrong number of arguments in call of macro 'HB_INIT_SYMBOLS_EX_END'
Error E2451 EHO.c 1152: Undefined symbol 'hb_vm_SymbolInit_EHO'
from EHO.c:
- Code: Select all Expand view
- HB_INIT_SYMBOLS_BEGIN( hb_vm_SymbolInit_EHO )
{ "L2BIN", {HB_FS_PUBLIC}, {HB_FUNCNAME( L2BIN )}, NULL },
{ "DBFCDX", {HB_FS_PUBLIC}, {HB_FUNCNAME( DBFCDX )}, NULL },
{ "DIVERTCONSTRUCTORCALL", {HB_FS_PUBLIC | HB_FS_DEFERRED}, {NULL}, NULL },
{ "GETPROCADD", {HB_FS_PUBLIC}, {HB_FUNCNAME( GETPROCADD )}, NULL },
{ "TACTIVEX", {HB_FS_PUBLIC}, {HB_FUNCNAME( TACTIVEX )}, NULL },
{ "ERRORSYS", {HB_FS_PUBLIC}, {HB_FUNCNAME( ERRORSYS )}, NULL },
{ "MAIN", {HB_FS_PUBLIC | HB_FS_LOCAL | HB_FS_FIRST}, {HB_FUNCNAME( MAIN )}, &ModuleFakeDyn }, // <-- Line 550
{ "SPACE", {HB_FS_PUBLIC}, {HB_FUNCNAME( SPACE )}, NULL },
{ "NEW", {HB_FS_PUBLIC}, {NULL}, NULL },
{ "TFONT", {HB_FS_PUBLIC}, {HB_FUNCNAME( TFONT )}, NULL },
...
{ "NRGB", {HB_FS_PUBLIC}, {HB_FUNCNAME( NRGB )}, NULL },
{ "_L2010", {HB_FS_PUBLIC}, {NULL}, NULL },
{ "DIALOGTOOLTIP", {HB_FS_PUBLIC}, {HB_FUNCNAME( DIALOGTOOLTIP )}, NULL }, // <-- Line 1050
{ "_CTOOLTIP", {HB_FS_PUBLIC}, {NULL}, NULL },
{ "_NLEFTMARGIN", {HB_FS_PUBLIC}, {NULL}, NULL },
...
{ "CLOSE", {HB_FS_PUBLIC}, {NULL}, NULL },
{ "(_INITSTATICS00023)", {HB_FS_INITEXIT}, {hb_INITSTATICS}, &ModuleFakeDyn },
{ "GETPVPROFS", {HB_FS_PUBLIC | HB_FS_LOCAL}, {HB_FUNCNAME( GETPVPROFS )}, NULL }
HB_INIT_SYMBOLS_EX_END( hb_vm_SymbolInit_EHO, __PRG_SOURCE__, 0x000a ) // <-- Line 1149
#if defined( HB_PRAGMA_STARTUP )
#pragma startup hb_vm_SymbolInit_EHO // <-- Line 1152
#elif defined( HB_DATASEG_STARTUP )
#define HB_DATASEG_BODY HB_DATASEG_FUNC( hb_vm_SymbolInit_EHO )
#include "hbiniseg.h"
#endif
As the same source code still works perfectly with the old FWH-Combination, I guess something else must be wrong. Has someone an idea?