[petsc-dev] When __FUNCT__ is wrong

Jed Brown jed at 59A2.org
Fri Aug 27 15:54:59 CDT 2010


On Fri, 27 Aug 2010 12:45:46 -0500, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>   Jed,
> 
>       You are certainly welcome to add it.

fdbdc93647ff

This just writes inconsistencies via PetscErrorPrintf, only in debug
mode.  I think I've gotten all the major inconsistencies in PETSc
proper, Sieve might have more, but I don't have a current build of that.

Note that this might be noisy for user code that redefine __FUNCT__, but
not everywhere.  If this bothers anyone, we could add a configure option
to turn this, and only this, on and off.

Jed



More information about the petsc-dev mailing list