Eliminate thousands of warnings with gcc 3.2 build