[Issue 6002] New: dmd should output error message to stderr, not stdout

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat May 14 15:08:35 PDT 2011


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

           Summary: dmd should output error message to stderr, not stdout
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: andrei at metalanguage.com


--- Comment #0 from Andrei Alexandrescu <andrei at metalanguage.com> 2011-05-14 15:04:30 PDT ---
I think this has been misdiagnosed as a rdmd issue a while bag. Consider:

dmd -v -o- doesnotexist.d >doesnotexist.deps

This command produces no stderr traffic and writes to doesnotexist.deps the
following:

binary    dmd
version   v2.053
config    /home/andrei/dmd.conf
parse     doesnotexist
Error: cannot read file doesnotexist.d

The last line should be printed to stderr.

-- 
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