[java-gnome-hackers] Fixing compiler warnings
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2008-03-02 06:29:12
|
We've done very well this last week cleaning up things that were leading to warnings from GCC when compiling the JNI code. Vreixo sorted out bug #516805 for us, adding a missing cast that knocked off 47 warnings. Friday I added a bit of code to add a NULL to functions taking variable length arguments so that they don't complain about a missing sentinel. That cleared 15 more warnings. And I also realized some of the warnings was due to bad .defs data for TreeViewColumn. That's 2 more. I'm quite pleased that none of the warnings above were actual problems, just code hygiene. We're down to 17 warnings now. That's pretty good. There seems to be one thing that repeats a fair number of times, so if we can clear that off we'll finally be at the point where the signal-to-noise ratio means we won't lose sight of real problems, which is the real point of the exercise. Awesome. AfC Sydney |