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:
@@ -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
|
||||
|
||||
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user