[MPIWG Fortran] Status followup question: missing const's in C bindings

Jeff Squyres (jsquyres) jsquyres at cisco.com
Tue Sep 8 09:05:08 CDT 2020


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



More information about the mpiwg-fortran mailing list