Date: Fri, 28 Apr 1995 10:40:20 +0900 From: Stephen Turnbull To: A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk Cc: eliz AT is DOT elta DOT co DOT il, DJGPP AT SUN DOT SOE DOT CLARKSON DOT EDU Subject: Gnu C++ odd event on divide by zero If I remember correctly, Mr. Appleyard was one of the guys who has objections to the default behavior of the coprocessor flags in DJGPP (in particular with respect to exception trapping). If so, and he figured out how to get the flags reset with any of the several solutions that were posted, and he has run any of his programs that muck with the default behavior of the '87.... Possibly the reason it works under ladybug is that Long's debugger resets the '87 to a known state. Why the printf should make a difference, I dunno, ask Long Doan. HTH -- Stephen Turnbull / Yaseppochi-gumi / http://turnbull.sk.tsukuba.ac.jp/ anon FTP: turnbull.sk.tsukuba.ac.jp Check out Kansai-WWW, too ------------> http://pclsp2.kuicr.kyoto-u.ac.jp/