2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rtl/gtos2/Makefile
* harbour/config/os2/watcom.mk
* disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
This is workaround for wrong code generated by OpenWatcom <= 1.8
when -s switch is used for functions calling APIENTRY16 functions.
Such code executed from non main thread causes GPF.
This commit is contained in:
@@ -17,6 +17,14 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-12-05 13:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/src/rtl/gtos2/Makefile
|
||||
* harbour/config/os2/watcom.mk
|
||||
* disable -s in GTOS2 OpenWatcom builds using HB_CSTACK_CHECK variable.
|
||||
This is workaround for wrong code generated by OpenWatcom <= 1.8
|
||||
when -s switch is used for functions calling APIENTRY16 functions.
|
||||
Such code executed from non main thread causes GPF.
|
||||
|
||||
2009-12-05 13:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* win-make.exe
|
||||
* INSTALL
|
||||
|
||||
@@ -36,10 +36,13 @@ ifneq ($(HB_BUILD_OPTIM),no)
|
||||
# architecture flags
|
||||
CFLAGS += -5r -fp5
|
||||
|
||||
ifneq ($(HB_CSTACK_CHECK),yes)
|
||||
CFLAGS += -s
|
||||
endif
|
||||
# optimization flags
|
||||
# don't enable -ol optimization in OpenWatcom 1.1 - gives buggy code
|
||||
# -oxaht
|
||||
CFLAGS += -onaehtr -s -ei -zp4 -zt0
|
||||
CFLAGS += -onaehtr -ei -zp4 -zt0
|
||||
#CFLAGS += -obl+m
|
||||
ifeq ($(CC),wpp386)
|
||||
CFLAGS += -oi+
|
||||
|
||||
@@ -16,7 +16,7 @@ ifeq ($(HB_PLATFORM),os2)
|
||||
# This is workaround for wrong code generated by OpenWatcom 1.8
|
||||
# when -s switch is used for functions calling APIENTRY16 functions.
|
||||
# Such code executed from non main thread causes GPF.
|
||||
HB_CFLAGS += -sg
|
||||
HB_CSTACK_CHECK := yes
|
||||
endif
|
||||
include $(TOP)$(ROOT)config/lib.mk
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user