Bug 5879 – Not all frontend errors use stderr

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
All
Creation time
2011-04-24T09:20:00Z
Last change time
2015-06-09T05:11:38Z
Keywords
diagnostic, iasm, pull
Assigned to
yebblies
Creator
andrej.mitrovich

Comments

Comment #0 by andrej.mitrovich — 2011-04-24T09:20:34Z
module testasm; void main() { asm { mov ecx, 1; } } > rdmd testasm.d > // no error > dmd testasm.d testasm.d(5): undefined identifier 'ecx'
Comment #1 by kennytm — 2011-04-24T11:37:02Z
The problem is ASM errors are written to stdout instead of stderr. Lines printed to stdout are redirected to testasm.d.deps. The function 'asmerr' in 'iasm.c' should be changed to print to stderr instead of stdout.
Comment #2 by yebblies — 2012-02-19T20:04:01Z
Comment #3 by github-bugzilla — 2012-03-12T01:02:48Z
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/e2a2f7eea93cb7bf461348e3405946c6cb5fcf16 Merge pull request #742 from yebblies/issue5879 Issue 5879 - Not all frontend errors use stderr
Comment #4 by yebblies — 2012-03-14T06:44:09Z