Mesa Can Finally Build With Almost No Compiler Warnings
Written by Michael Larabel in Mesa on 21 September 2018 at 10:36 AM EDT. 35 Comments
MESA --
Quite a feat for modern open-source projects with large C/C++ code-bases developed over the years, Mesa3D can almost be compiled now without any warnings -- there's just one remaining.

When paired with the latest GCC 8 stable compiler, Mesa paired with some pending patches is down to just one compiler warning left in the build process -- quite an improvement compared to in the past with older versions of GCC and Mesa.

Eric Engestrom of the open-source Intel team sent out a set of six patches to "Let's get rid of 99% of warnings :)"

As far as the one warning that is left, it comes down to a variable initialization issue with a switch statement in the Nouveau NVC0 code, but not trivial and the Intel developer doesn't have the time to investigate.

Here's to hoping that by the time Mesa 18.3 rolls out it will be down to no compiler warnings...
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Mesa News
Popular News This Week