[petsc-dev] __func__

Patrick Sanan patrick.sanan at gmail.com
Tue Jun 16 14:57:09 CDT 2015

This would also be a benefit in that it would increase the information
density of the examples that define __FUNCT__ , specifically all the TAO

On Tue, Jun 16, 2015 at 2:42 PM, Jed Brown <jed at jedbrown.org> wrote:

> "Stowell, Mark L." <stowell1 at llnl.gov> writes:
> > This leads to numerous error messages of the form
> >
> > .../petsc-3.6.0/src/dm/impls/da/dageometry.c:643:
> __FUNCT__="DMDACnvertToCell" does not agree with
> __func__="DMDAConvertToCell"
> Both C99 and C++11 defines __func__ (and most pre-C++11 compilers define
> __func__ and/or __FUNCTION__).  Shall we consider deleting 22328 lines
> of PETSc by just using those (perhaps with a fallback to a less useful
> stack trace)?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150616/afcda932/attachment.html>

More information about the petsc-dev mailing list