October 10, 2010 [Issue 5031] New: pragma(msg,...) outputs to stderr, not stdout | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: cbkbbejeap@mailinator.com --- Comment #0 from Nick Sabalausky <cbkbbejeap@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: ------- |
January 19, 2012 [Issue 5031] pragma(msg,...) outputs to stderr, not stdout | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | http://d.puremagic.com/issues/show_bug.cgi?id=5031 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla@digitalmars.com Resolution| |INVALID --- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2012-01-19 14:00:44 PST --- Their normal usage is to provide user-friendly error messages, so they should got to stderr. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation