On Thu, Jun 16, 2011 at 17:10, Dharmendar Reddy <dharmareddy84 at 
gmail.com>wrote:

> Thanks. It works now.
> I get a warning when i run make, is that okay?
> ztsf.c(172): warning #167: argument of type "PetscErrorCode={int} (*)(void
> **)" is incompatible with paramet
> er of type "PetscErrorCode={int} (*)(void *)"
>         *ierr = TSMonitorSet(*ts,ourtsmonitor,*ts,ourmonitordestroy);


This warning is harmless. The new prototype is more permissive, so there is
no warning in petsc-dev. If the warning bothers you, you can add an explicit
cast.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110616/c696a675/attachment.htm>

Reply via email to