Eric Chamberland <[email protected]> writes:
> - Would you consider doing static_cast<void>( ) as suggested by clang to 
> silence the warnings?

We want valid C so it'll be ((void)petsc_send_ct++,0).  It's annoying,
but I think we should do it.  There will be a ton of places inside
PETSc.

> - Does PETSc lib really wants to count *my* calls to MPI functions?

It's useful information about what happens inside SNESFunctionEval, for
example.  I don't like that it's messing with something that is not in
PETSc's namespace and would collide with any other library trying to do
the same thing.  So by that metric, it's wrong and we should move it to
a private header.

Attachment: signature.asc
Description: PGP signature

Reply via email to