[comp.lang.c++] Turbo C++ problem

ljz@benji.shearson.com (Lloyd Zusman) (11/19/90)

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@sisyphus.shearson.com
 UUCP:     ...!uunet!slcpi!sisyphus!ljz
 (212) 464-8727
 It's morning in America.  Wake up and smell the coffee.

gregory@thunder.mcrcim.mcgill.edu (Gregory Carayannis) (05/03/91)

I wonder whether anyone can help with the following problem that a friend of
mine has. It is related to using oeverlays in Turbo c++. In particular, he
has a `file' that contains code which  compiles and runs ok when NOT in an 
overlay. When it is compiles as an overlay, it does compile but crushes when
the code is being executed. 

Now this is how much I know, but I can get more info on the problem if one
things he/she can help. I know that my friend tried to contact Borland but he
got nowhere. I would appreciate the help.


gregory carayannis
gregory@moe.mcrcim.mcgill.edu