Mail Archives: djgpp/1992/05/04/05:06:32
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 -