Hacker News new | ask | show | jobs
by kmoser 52 days ago
> The so-called "json" format for -fdiagnostics-format= has been removed in this release. Users seeking machine-readable diagnostics from GCC should use SARIF.

But:

> GCC can now output diagnostics in HTML form via -fdiagnostics-add-output=experimental-html

I wonder what drove the decision to remove JSON output and add HTML output?

1 comments

It looks like SARIF is JSON, with a formal schema. I'm guessing the JSON they used to output used their own, non-standard schema.