Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Conversation

@jsquyres
Copy link
Member

Use "myrank" instead (I tried using ::rank, but had varied success... so I just renamed the variable).

(cherry picked from commit open-mpi/ompi@89d0a03)

@ggouaillardet Please review.

Use "myrank" instead (I tried using ::rank, but had varied
success... so I just renamed the variable).

(cherry picked from commit open-mpi/ompi@89d0a03)
@jsquyres jsquyres added the bug label Feb 27, 2016
@jsquyres jsquyres added this to the v2.0.0 milestone Feb 27, 2016
@jsquyres jsquyres changed the title cxx: "rank" is now a function in C++11 v2.0.0: cxx: "rank" is now a function in C++11 Feb 27, 2016
@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1377/ for details.

@ggouaillardet
Copy link
Contributor

:bot🏷️pushed-back
@jsquyres the PR is good for me, but there are a lot of warnings when configure'd with --enable-picky
can you cherry-pick open-mpi/ompi@e5d6b97 into this PR ?

@jsquyres
Copy link
Member Author

About open-mpi/ompi@e5d6b97 -- now that we require a C99 compiler, do we really need opal_stdint.h any more? I.e., would a better solution be to remove opal_stdint.h?

@ggouaillardet
Copy link
Contributor

are 128 bit integers standardized in C99 ?
we might be able to simplify parts of this file, but I am not sure we can simply remove this file.
@bosilca @hjelmn @rhc54 any thoughts ?

@hjelmn
Copy link
Member

hjelmn commented Feb 29, 2016

No, 128-bit integers are not yet standard so we still need opal_stdint.h for 128-bit.

GCC 6 and later should ignore -Wpedantic instead of -pedantic

(cherry picked from commit open-mpi/ompi@e5d6b97)
@jsquyres
Copy link
Member Author

jsquyres commented Mar 1, 2016

@ggouaillardet This PR now includes the GCC pragma fix.

@ggouaillardet
Copy link
Contributor

👍

@jsquyres
Copy link
Member Author

jsquyres commented Mar 1, 2016

@hppritcha When CI finishes, this is good to go

@mellanox-github
Copy link

Test PASSed.
See http://bgate.mellanox.com/jenkins/job/gh-ompi-release-pr/1386/ for details.

hppritcha added a commit that referenced this pull request Mar 1, 2016
…shark

v2.0.0: cxx: "rank" is now a function in C++11
@hppritcha hppritcha merged commit e46035b into open-mpi:v2.x Mar 1, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants