build warnings

Jonathan Gibbons jonathan.gibbons at
Tue Dec 2 21:59:56 UTC 2014

Build folk,

The build has always generated warnings (sigh!) but right now, the 
warnings look scarier than usual.

In particular, when the build terminates, I get a couple of screenfuls 
of messages like this:

In function ‘SplashScreenThread’:
warning: ignoring return value of ‘pipe’, declared with attribute 
warn_unused_result [-Wunused-result]
In function ‘initFormat’:
warning: ‘numBits’ may be used uninitialized in this function 
          format->shift[i] = shift + numBits - i * 8 - 8;

What would it take to have some sort of campaign to reduce build 
warnings like these?  We've made good progress on lint and doclint 
warnings for Java code and doc comments; what does it take to start on 
native code warnings?

-- Jon

More information about the build-dev mailing list