[petsc-dev] Recent changeset confuses the heck of intel compilers

Blaise Bourdin bourdin at lsu.edu
Thu Feb 24 16:25:10 CST 2011


Hi,

Changeset f301815fc494cb333d15c0cefabf71a0988a0321 (rev 18363) seems to confuse the intel compilers (I tested 11.1 on linux x86_64 and mac OS X). After updating past this point, I get tons of warnings like
drawv.c(397): warning #187: use of "=" where "==" may have been intended
      ierr = PetscFree((*sviewer)->data);CHKERRQ(ierr);
             ^

drawv.c(398): warning #187: use of "=" where "==" may have been intended
      ierr = PetscHeaderDestroy(*sviewer);CHKERRQ(ierr);
             ^

drawv.c(398): warning #187: use of "=" where "==" may have been intended
      ierr = PetscHeaderDestroy(*sviewer);CHKERRQ(ierr);
             ^

Is this right?

Blaise

-- 
Department of Mathematics and Center for Computation & Technology
Louisiana State University, Baton Rouge, LA 70803, USA
Tel. +1 (225) 578 1612, Fax  +1 (225) 578 4276 http://www.math.lsu.edu/~bourdin










More information about the petsc-dev mailing list