[Issue 13150] New: Add ability to log gagged compiler errors to file
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 17 03:16:29 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13150
Issue ID: 13150
Summary: Add ability to log gagged compiler errors to file
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: andrej.mitrovich at gmail.com
DMD does a lot of gagging and although ideally it would not have to do any
gagging at all, it's going to be a long time before this happens.
One problem with gagging is that it sometimes hides useful error messages
(sometimes even your own static assert with a custom message).
I propose we add an option to emit all gagged errors to a file. That way we can
at least attempt to trace through the compiler stages to see what went wrong.
This would require a new switch.
--
More information about the Digitalmars-d-bugs
mailing list