www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/05/04/05:06:32

Via: exua.exeter.ac.uk; Mon, 4 May 1992 09:20:46 +0100
From: John Cremona (Maths) <cremona AT vortex1 DOT exeter DOT ac DOT uk>
Date: Mon, 4 May 92 09:20:38 BST
To: jkubicky AT cco DOT caltech DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Problem with cout in 1.06
Status: O

I have found the same thing as Joseph Kubicky: cout does not get
flushed at the end of a run.  This just meant that I lost the results
of a 3-hour run!  Of course we can always insert our own
"cout<<flush;" at the end of every program, but we shouldn't have to!

I have had other problems with the new version causing programs which
previously (under 1.05) worked perfectly and now crash with "exception
14".  This seems to happen on lines like
f(i) = (condition? x : y);
where f() is a class function returning a reference to an item of the
same type as x or y.   No problems when I rewrite it as 
f(i)=y; if(condition) f(i)=x;
I don't know if this also causes problems on the unix GCC 2.1 as we
have not installed that yet; it certainly worked fine with GCC 1.? and
djgpp 1.05.

John Cremona

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019