Get the latest tech news

Usability Improvements in GCC 15


GCC 15 brings better error messages and diagnostics for your code, including prettier execution paths and easier-to-read compiler errors for C++ templates

As of GCC 15 this now uses unicode box-drawing characters (where the locale supports this), and for purely intraprocedual cases like the example above, we now omit it altogether, which saves some visual "noise." I've been experimenting with a new way of presenting this information, taking inspiration from Sy Brand's excellent "Concepts Error Messages for Humans" paper. I attempted to rebuild a large subset of Fedora with GCC 15 and thus defaulting to C23 to try to shake out problems that would arise, and in doing so found various diagnostics that needed improving.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of gcc

gcc

Related news:

News photo

Initial Support For Apple Cores Merged For The GCC 15 Compiler: A12, M1, M2 & M3

News photo

Latest Batch Of Rust Compiler Updates For GCC 15.1 Lands Support For... For Loops

News photo

Intel's AVX10.2 Patches Merged For GCC 15 To Drop 256-bit Rounding & AVX10.2-256 Options