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

           Summary: pragma(msg,...) outputs to stderr, not stdout
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: cbkbbej...@mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbej...@mailinator.com> 2010-10-09 
17:36:53 PDT ---
pragma(msg,...) messages are not inherently errors, so it should output to
stdout, not stderr. But currently it outputs to stderr:

-------------
> type test.d
pragma(msg, "hello");
> dmd -c test.d > out.txt
hello
> type out.txt
> dmd -c test.d 2> out.txt
> type out.txt
hello
-------------

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

Reply via email to