We were passing -w to the compiler which inhibits any and all warnings.
Created attachment 84593 [details] [review] Patch
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.