diff options
author | Alex Cherepanov <alex.cherepanov@artifex.com> | 2004-08-31 19:23:14 +0000 |
---|---|---|
committer | Alex Cherepanov <alex.cherepanov@artifex.com> | 2004-08-31 19:23:14 +0000 |
commit | a01e15de1e191909794152afa500665cfa0310a6 (patch) | |
tree | 54656ab6497354237acd2be2bd6ea4ee84535e8e /gs/src/winint.mak | |
parent | 48749a3d4f3667924acc121e5d44296793d71581 (diff) |
Trap C stack overflow exception on Borland C and MSVC. Without the
trap the application silently terminates when C stack overflows.
Fix bug 687461
[DETAILS]
Watcom C 1.2 doesn't need the trap. It is also the only compiler tested
that converts trailing recursion to iteration. GCC 3.2 on Windows still
generates programs that fail silently but I don't know how to fix this.
GCC 2.95 on Linux reports the stack overflow.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5282 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/winint.mak')
-rwxr-xr-x | gs/src/winint.mak | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gs/src/winint.mak b/gs/src/winint.mak index aab04cbcd..2958cd6a1 100755 --- a/gs/src/winint.mak +++ b/gs/src/winint.mak @@ -139,7 +139,7 @@ $(GLOBJ)dwimg.obj $(DWTRACE) $(GLOBJ)dwreg.obj OBJCNO=$(PSOBJ)dwmainc.obj $(PSOBJ)dwnodllc.obj $(GLOBJ)dwimg.obj $(DWTRACE) $(GLOBJ)dwreg.obj -$(PSOBJ)dwmainc.obj: $(PSSRC)dwmainc.c $(AK) $(fcntl__h) $(unistd__h) \ +$(PSOBJ)dwmainc.obj: $(PSSRC)dwmainc.c $(AK) $(windows__h) $(fcntl__h) $(unistd__h) \ $(iapi_h) $(vdtrace_h) $(gdevdsp_h) $(dwdll_h) $(dwimg_h) $(dwtrace_h) $(PSCCWIN) $(COMPILE_FOR_CONSOLE_EXE) $(PSO_)dwmainc.obj $(C_) $(PSSRC)dwmainc.c @@ -169,7 +169,7 @@ $(GLOBJ)dwtrace.obj: $(GLSRC)dwtrace.c $(AK)\ $(gscdefs_h) $(stdpre_h) $(gsdll_h) $(vdtrace_h) $(GLCPP) $(COMPILE_FOR_EXE) $(GLO_)dwtrace.obj $(C_) $(GLSRC)dwtrace.c -$(PSOBJ)dwmain.obj: $(PSSRC)dwmain.c $(AK)\ +$(PSOBJ)dwmain.obj: $(PSSRC)dwmain.c $(AK) $(windows__h) \ $(iapi_h) $(vdtrace_h) $(dwmain_h) $(dwdll_h) $(dwtext_h) $(dwimg_h) $(dwtrace_h) \ $(dwreg_h) $(gdevdsp_h) $(PSCCWIN) $(COMPILE_FOR_EXE) $(PSO_)dwmain.obj $(C_) $(PSSRC)dwmain.c |