[SAOC 2024] Improve D Error Messages - Weekly Update #5

Royal Simpson Pinto royalpinto007 at gmail.com
Tue Oct 22 14:11:11 UTC 2024


On Monday, 21 October 2024 at 19:46:56 UTC, Johan wrote:

> [1] I again strongly advise to do what clang and GCC do, 
> because it means that tooling will at least support that 
> schema. They are using version 2.1.0 apparently. 
> (https://docs.oasis-open.org/sarif/sarif/v2.1.0/cos02/schemas/sarif-schema-2.1.0.json)
>
> [2] https://sarifweb.azurewebsites.net/Validation

Hi Johan,

Thanks for your feedback!

I've made adjustments based on your suggestions:
- **feat(errors): implement SARIF support as a MessageStyle 
#17016** – [PR #17016](https://github.com/dlang/dmd/pull/17016)
- **fix(errors): adhere to SARIF 2.1.0 schema #17020** – [PR 
#17020](https://github.com/dlang/dmd/pull/17020)

These should align the command-line interface and output format 
with GCC and Clang, and ensure external tools can work seamlessly 
with DMD+SARIF.

Cheers,
Royal


More information about the Digitalmars-d mailing list