logoalt Hacker News

kmoseryesterday at 6:52 PM1 replyview on HN

> 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?


Replies

rcfoxyesterday at 7:00 PM

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.