Fix about 150 warnings new to gcc 4.0 in the error on warning directories.