Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Apr 4, 2016

Specifically:
adio/common/utils.c: In function ‘ADIOI_Type_create_hindexed_x’:
adio/common/utils.c:97:3: warning: passing argument 3 of
‘PMPI_Type_hindexed’ discards ‘const’ qualifier from pointer target
type [-Wdiscarded-qualifiers]

Signed-off-by: Karol Mroz mroz.karol@gmail.com

Specifically:
    adio/common/utils.c: In function ‘ADIOI_Type_create_hindexed_x’:
    adio/common/utils.c:97:3: warning: passing argument 3 of
    ‘PMPI_Type_hindexed’ discards ‘const’ qualifier from pointer target
    type  [-Wdiscarded-qualifiers]

Signed-off-by: Karol Mroz <mroz.karol@gmail.com>
@hjelmn
Copy link
Member

hjelmn commented Apr 5, 2016

As nice as this is I don't think we can take it. The MPI_Type_hindexed call was deprecated and did not get the const keyword. A better fix would be to patch romio to not use the deprecated routine. @jsquyres am I wrong?

@bosilca
Copy link
Member

bosilca commented Apr 5, 2016

s/deprecated/removed/ since MPI 3.0 (source MPI 3.1 page 18 line 17).

@ghost
Copy link
Author

ghost commented Apr 5, 2016

Ahhh, I see. Then definitely replacing the calls is the way to go 😄 Will close this for now.

@ghost ghost closed this Apr 5, 2016
@ghost ghost deleted the wip-hindexed-warnings branch April 10, 2016 18:02
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants