D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20515 - Errors should be reported in GNU style on Linux
Summary: Errors should be reported in GNU style on Linux
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-17 10:44 UTC by FeepingCreature
Modified: 2020-03-21 03:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description FeepingCreature 2020-01-17 10:44:07 UTC
Error messages should be reported in GNU style on Linux. This will ease interoperability with existing IDEs.

The GNU style is specified at https://www.gnu.org/prep/standards/html_node/Errors.html . (It is not gcc specific; clang also follows it.)
Comment 1 Dlang Bot 2020-01-17 10:50:10 UTC
@FeepingCreature created dlang/dmd pull request #10732 "Implement issue 20515: add command line flag to allow selecting GNU message style for errors and warnings." mentioning this issue:

- Implement issue 20515: add command line flag to allow selecting GNU message style for errors and warnings.

https://github.com/dlang/dmd/pull/10732
Comment 2 Dlang Bot 2020-02-03 03:43:58 UTC
dlang/dmd pull request #10732 "Implement issue 20515: add command line flag to allow selecting GNU message style for errors and warnings." was merged into master:

- 09a1a3884834b85d92b21eadbe758fdeb5e3206c by Mathis Beer:
  Implement issue 20515: add command line flag to allow selecting GNU message style for errors and warnings.

https://github.com/dlang/dmd/pull/10732