[ET Trac] #2170: compiling PETSc produces warnings