[petsc-dev] __func__

Jed Brown jed at jedbrown.org
Tue Jun 16 14:42:53 CDT 2015


"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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150616/d426c881/attachment.sig>


More information about the petsc-dev mailing list