Turbo C++ problem

Lloyd Zusman ljz at benji.shearson.com
Tue Nov 20 00:36:37 AEST 1990


I'm having a problem with Turbo C++ version 1.0 on my Wyse 386 computer
(8/16 MHz), running PC-DOS 3.3.

Every Turbo C++ program that uses floating point hangs my system with the
message "Stack Overflow -- System Halted" when I run it.  A hard reboot is
required.

It doesn't matter whether I use the floating point emulation routines or
those that require the math chip.  The setting of the "87" environment
variable doesn't matter.  This even occurs in the following program ...

	int
	main(int, char**) {
		double x = 0.0;
		return (0);
	}


When I use floating point with Zortech C++, Meta Ware "High C", Microsoft C
(versions 3.0 through 5.1), Manx C, and the previous Turbo C (not C++)
release, this problem doesn't occur.  My math chip is working fine,
according to voluminous diagnostics I've run on it.

Has anyone else had this Turbo C++ problem on a Wyse 386?  Does anyone know
how to fix it?

If you choose to email your reply, please use the address in my .signature,
not the address from the news headers.

Thanks in advance!
--
 Lloyd Zusman
 Internet: ljz at sisyphus.shearson.com
 UUCP:     ...!uunet!slcpi!sisyphus!ljz
 (212) 464-8727
 It's morning in America.  Wake up and smell the coffee.



More information about the Comp.lang.c mailing list