Re: [OMPI devel] Odd warning in OMPI v3.0.x

2018-07-06 Thread r...@open-mpi.org
ok, i’ll fix it > On Jul 6, 2018, at 3:09 PM, Nathan Hjelm via devel > wrote: > > Looks like a bug to me. The second argument should be a value in v3.x.x. > > -Nathan > >> On Jul 6, 2018, at 4:00 PM, r...@open-mpi.org wrote: >> >> I’m seeing this when building the v3.0.x branch: >> >> runti

Re: [OMPI devel] Odd warning in OMPI v3.0.x

2018-07-06 Thread Nathan Hjelm via devel
Looks like a bug to me. The second argument should be a value in v3.x.x. -Nathan > On Jul 6, 2018, at 4:00 PM, r...@open-mpi.org wrote: > > I’m seeing this when building the v3.0.x branch: > > runtime/ompi_mpi_init.c:395:49: warning: passing argument 2 of > ‘opal_atomic_cmpset_32’ makes intege

[OMPI devel] Odd warning in OMPI v3.0.x

2018-07-06 Thread r...@open-mpi.org
I’m seeing this when building the v3.0.x branch: runtime/ompi_mpi_init.c:395:49: warning: passing argument 2 of ‘opal_atomic_cmpset_32’ makes integer from pointer without a cast [-Wint-conversion] if (!opal_atomic_cmpset_32(&ompi_mpi_state, &expected, desired)) {