[MPIWG Fortran] Status followup question: missing const's in C bindings
Jeff Squyres (jsquyres)
jsquyres at cisco.com
Tue Sep 8 13:22:20 CDT 2020
Issue filed: https://github.com/mpi-forum/mpi-issues/issues/307 (including 3.x and 4.0 PDFs)
PR 3.x: https://github.com/mpi-forum/mpi-standard/pull/273
PR 4.0: https://github.com/mpi-forum/mpi-standard/pull/272
Please review before I send to the main Forum list.
Thanks.
On Sep 8, 2020, at 10:05 AM, Jeff Squyres (jsquyres) <jsquyres at cisco.com<mailto:jsquyres at cisco.com>> wrote:
It looks like we have the following 4 bindings for the status conversion functions in C:
int MPI_Status_f082c(const MPI_F08_status *f08_status, MPI_Status *c_status)
int MPI_Status_c2f08(const MPI_Status *c_status, MPI_F08_status *f08_status)
int MPI_Status_f2f08(MPI_Fint *f_status, MPI_F08_status *f08_status)
int MPI_Status_f082f(MPI_F08_status *f08_status, MPI_Fint *f_status)
Shouldn't the latter 2 functions have "const" before their first parameters?
--
Jeff Squyres
jsquyres at cisco.com<mailto:jsquyres at cisco.com>
--
Jeff Squyres
jsquyres at cisco.com<mailto:jsquyres at cisco.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpi-forum.org/pipermail/mpiwg-fortran/attachments/20200908/4329d082/attachment.html>
More information about the mpiwg-fortran
mailing list