GCC 9 Offering Up Better Error Messages, JSON Output Support

Written by Michael Larabel in GNU on 8 March 2019 at 05:58 AM EST. 12 Comments
Besides new/improved CPU targets, C++20 additions, and a lot of other additions to the code-base for GCC 9, there is also continued work on usability improvements for developers to make their lives easier and helping out with more precise error/warning details.

David Malcom of Red Hat's compiler toolchain team has done his annual post outlining the usability improvements to find in this forthcoming compiler release. Among the quality of life improvements for developers using GCC9 include various diagnostic improvements to provide more helpful details to developers, the ability to dump diagnostics now to JSON output format so it can be easily parsed by other programs/scripts, simpler C++ errors in some cases, better indications where GCC can't vectorize a chunk of code, and other new hints and messaging improvements.

Learn more about the GCC 9 usability enhancements via developers.redhat.com.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week