On Wed, Jan 30, 2013 at 2:01 PM, Barrett, Brian W <bwba...@sandia.gov> wrote:
> As for the warnings about anachronisms, that I can't help on.

This one is actually really funny. The function MPI_Register_datarep
is defined in the mpi.c as  {extern "C"}. As some of the arguments are
pointers to function, they automatically become typed as {extern "C"}.
But in the Cxx interface, the arguments are not types as {extern "C"}
which trigger the compiler warning.

I don't think it is necessary to fix this, as the callback functions
should not be types as {extern "C"}. The compiler is a little too
cautious.

  George.

Reply via email to