Dear OpenMPI developers,

When compiling C++ applications with OpenMPI 1.4.3 installed from Ubuntu repositories, some easily addressable warnings occurs due to unused arguments in function definitions. Namely, comm_inln.h has the following two definitions:
inline int
MPI::Comm::NULL_COPY_FN(const MPI::Comm& oldcomm, int comm_keyval,
                   void* extra_state, void* attribute_val_in,
                   void* attribute_val_out, bool& flag)
{
    flag = false;
    return MPI_SUCCESS;
}

// ...
// ...

inline int
MPI::Comm::NULL_DELETE_FN(MPI::Comm& comm, int comm_keyval, void* attribute_val,
                 void* extra_state)
{
    return MPI_SUCCESS;
}

Since the compiler just needs the function prototype, the solution is just comment out the unused identifiers:
inline int
MPI::Comm::NULL_COPY_FN(const MPI::Comm& /*oldcomm*/, int /*comm_keyval*/,
                   void* /*extra_state*/, void* /*attribute_val_in*/,
                   void* /*attribute_val_out*/, bool& flag)
{
    flag = false;
    return MPI_SUCCESS;
}

// ...
// ...

inline int
MPI::Comm::NULL_DELETE_FN(MPI::Comm& /*comm*/, int /*comm_keyval*/, void* /*attribute_val*/,
                 void* /*extra_state*/)
{
    return MPI_SUCCESS;
}
I would appreciate if you fix this cosmetic bug.

Thanks in advance,
Júlio.