FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Trace.log
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Trace.log
Posted: Wed Jul 09, 2008 06:02 PM

To All

This just showed up .. I have no clue what generated this trace.log .. using FWH806.

*** WARNING! Function: GETNEW Duplicate Definition: 0043FB0C in Module: tgetint.prg is hidden by previously registered Module: TCLIPGET.PRG Definition: 00407035

Rick Lipkin
SC Dept of Health, USA

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Trace.log
Posted: Wed Jul 09, 2008 06:03 PM

It is solved in the current xHarbour from CVS.

EMG

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Trace.log
Posted: Wed Jul 09, 2008 06:10 PM

Enrico

Thank you for your QUICK responce .. I just downloaded the latest ( 806 ) FTDN version of xHarbour and the Trace.Log .. went away..

Thanks
Rick Lipkin

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Trace.log
Posted: Wed Jul 09, 2008 10:39 PM

Trace.Log has its own advanatages for the developer. It tells us if there is more than one public symbol with the same name. Is there any runtime switch to turn on gernation of Trace.Log ?

Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Trace.log
Posted: Thu Jul 10, 2008 09:06 AM
No, as far as I know. This is from xHarbour's hvm.c:

#ifdef TRACE_DUPLICATE_FUNCTIONS
                     /* NOTE: hb_traceInit() is not yet executed, but it uses s_bEmpty to not override output preceding hb_vmInit() */
                     TraceLog( NULL, "*** WARNING! Function: %s Duplicate Definition: %p in Module: %s is hidden by previously registered Module: %s Definition: %p\n",
                               pSymbol->szName, pSymbol->value.pFunPtr, szModuleName,
                               pDynSym->pModuleSymbols ? pDynSym->pModuleSymbols->szModuleName : "<unspecified>", pDynSym->pSymbol->value.pFunPtr );
#endif


EMG
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Trace.log
Posted: Fri Jul 11, 2008 11:22 AM

Mr Enrico

Thanks for the information

Regards



G. N. Rao.

Hyderabad, India

Continue the discussion