[Issue 5031] New: pragma(msg,...) outputs to stderr, not stdout

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Oct 9 17:37:19 PDT 2010


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: nobody at puremagic.com
        ReportedBy: cbkbbejeap at mailinator.com


--- Comment #0 from Nick Sabalausky <cbkbbejeap at 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: -------


More information about the Digitalmars-d-bugs mailing list