2008-08-26 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbmain.c
! reset class and functions static declarations to avoid GPF
when more then one file is compiled with -w3 switch
NOTE: Whole this code will have to be removed and written
from scratch
This commit is contained in:
@@ -8,6 +8,13 @@
|
||||
2008-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2008-08-26 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/compiler/hbmain.c
|
||||
! reset class and functions static declarations to avoid GPF
|
||||
when more then one file is compiled with -w3 switch
|
||||
NOTE: Whole this code will have to be removed and written
|
||||
from scratch
|
||||
|
||||
2008-08-26 11:57 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/source/compiler/hbmain.c
|
||||
! fixed GPF when more then one file was compiled with -w3 switch
|
||||
|
||||
@@ -1506,12 +1506,19 @@ static void hb_compDeclaredInit( HB_COMP_DECL )
|
||||
|
||||
/* ------- */
|
||||
|
||||
/* reset to previous state */
|
||||
s_001.pNext = NULL;
|
||||
|
||||
/* ------- */
|
||||
|
||||
/* First (bottom) Method */
|
||||
s_ERROR.pMethod = &s_ERROR_14;
|
||||
/* Last (top) Method. */
|
||||
s_ERROR.pLastMethod = &s_ERROR_01;
|
||||
/* Next class definition pointer */
|
||||
s_ERROR.pNext = NULL;
|
||||
/* reset to previous state */
|
||||
s_ERROR_01.pNext = NULL;
|
||||
|
||||
/* ------- */
|
||||
|
||||
@@ -1521,6 +1528,8 @@ static void hb_compDeclaredInit( HB_COMP_DECL )
|
||||
s_GET.pLastMethod = &s_GET_01;
|
||||
/* Next class definition pointer */
|
||||
s_GET.pNext = &s_ERROR;
|
||||
/* reset to previous state */
|
||||
s_GET_01.pNext = NULL;
|
||||
|
||||
/* ------- */
|
||||
|
||||
@@ -1530,6 +1539,8 @@ static void hb_compDeclaredInit( HB_COMP_DECL )
|
||||
s_TBCOLUMN.pLastMethod = &s_TBCOLUMN_01;
|
||||
/* Next class definition pointer */
|
||||
s_TBCOLUMN.pNext = &s_GET;
|
||||
/* reset to previous state */
|
||||
s_TBCOLUMN_01.pNext = NULL;
|
||||
|
||||
/* ------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user