[Issue 10344] Exiting _Dmain should flush all FILE*s and return nonzero on failure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 13:58:52 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10344



--- Comment #16 from Steven Schveighoffer <schveiguy at yahoo.com> 2013-06-17 13:58:51 PDT ---
(In reply to comment #15)
> Then we'll need to define ways for people to access error codes etc. which
> means writeln and friends would need to return them, or provide lastError()
> APIs etc. It would necessitate some design.

We don't need to design any APIs.  Just don't throw.  If you want to handle
errors as they happen, don't set the flag.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list