Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v4.1.x: fix many warnings #8204

Merged
merged 2 commits into from
Nov 24, 2020
Merged

Conversation

jsquyres
Copy link
Member

@jsquyres jsquyres commented Nov 12, 2020

Fixes #8195. This PR doesn't fix all the warnings from #8195, but
fixes many of them (e.g., I didn't get the "string might be truncated"
warnings on my Mac).

This is an adaptation of 14aa5fa from
master; it drops some things that aren't relevant here on the v4.1.x
branch and adds a few more warnings fixes that are relevant here on
v4.1.x that aren't relevant on master.

Signed-off-by: Jeff Squyres jsquyres@cisco.com
(cherry-picked from 14aa5fa)

MPI_Ialltoallw() and friends take a const MPI_Datatype types[] argument.
In order to be able to call OBJ_RELEASE(types[0]), we used to simply
drop the const modifier. This change make it right by introducing the
OBJ_RELEASE_NO_NULLIFY(object) macro that no more set object = NULL
if the object is freed.

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
(cherry picked from commit c49e5e5)
@jsquyres jsquyres force-pushed the pr/v4.1.x/fix-warnings branch from 50ed871 to dbaa448 Compare November 14, 2020 18:16
Fixes open-mpi#8195. This PR doesn't fix all the warnings from open-mpi#8195, but
fixes many of them (e.g., I didn't get the "string might be truncated"
warnings on my Mac).

This is an adaptation of 14aa5fa from
master; it drops some things that aren't relevant here on the v4.1.x
branch and adds a few more warnings fixes that are relevant here on
v4.1.x that aren't relevant on master.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
(cherry-picked from 14aa5fa)
@jsquyres jsquyres force-pushed the pr/v4.1.x/fix-warnings branch from dbaa448 to f9e2bf7 Compare November 23, 2020 20:45
@jsquyres jsquyres marked this pull request as ready for review November 23, 2020 20:45
@jsquyres jsquyres requested a review from rajachan November 23, 2020 20:45
@jjhursey
Copy link
Member

bot:ibm:retest

@rajachan rajachan merged commit 38011d3 into open-mpi:v4.1.x Nov 24, 2020
@jsquyres jsquyres deleted the pr/v4.1.x/fix-warnings branch November 24, 2020 12:06
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.

4 participants