Skip to content

Conversation

@alex--m
Copy link
Contributor

@alex--m alex--m commented Jan 27, 2024

and a minor casting fix, found when using GCC v13

* never change, so there's not much of a maintenance worry).
*/
typedef void (ompi_op_c_handler_fn_t)(void *, void *, int *,
typedef void (ompi_op_c_handler_fn_t)(const void *, void *, int *,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need to change the signatures of the implementations that are used to set these in ompi_op_t?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Which ones? I looked for implementations (ompi/mca/op/base/op_base_functions.c for example) and seems to me like all the functions already adhere to this prototype. Maybe I missed some?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, looks like the build is clean 👍

@bosilca bosilca merged commit 8eb82d3 into open-mpi:main Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants