2009-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/compiler/hbmain.c
    ! added missing pFunc initialization in symbol structure.
      It was causing GPF when C code was attached to .prg file using
      HB_INLINE() {} or #pragma BEGIN/ENDDUMP with HB_FUNC_STATIC()
      inside. Many thanks to Andi for information about the problem.
This commit is contained in:
Przemyslaw Czerpak
2009-09-03 12:02:22 +00:00
parent c1990f823e
commit 4b3b573aee
2 changed files with 9 additions and 1 deletions

View File

@@ -17,6 +17,13 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
! added missing pFunc initialization in symbol structure.
It was causing GPF when C code was attached to .prg file using
HB_INLINE() {} or #pragma BEGIN/ENDDUMP with HB_FUNC_STATIC()
inside. Many thanks to Andi for information about the problem.
2009-09-03 08:25 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbwin/axcore.c
+ added alternative method to look for connection point if

View File

@@ -262,8 +262,9 @@ static PCOMSYMBOL hb_compSymbolAdd( HB_COMP_DECL, const char * szSymbolName, USH
pSym->szName = szSymbolName;
pSym->cScope = 0;
pSym->pNext = NULL;
pSym->iFunc = bFunction ? HB_COMP_PARAM->iModulesCount : 0;
pSym->pFunc = NULL;
pSym->pNext = NULL;
if( ! HB_COMP_PARAM->symbols.iCount )
{