Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] harmless warnings from ompi_rb_tree test
From: Ralph Castain (rhc_at_[hidden])
Date: 2014-01-24 15:19:35


I found the changeset (r30225) that fixed this - Jeff committed it to the trunk two weeks ago but forgot to cmr it across. I've set it for 1.7.5

Thanks
Ralph

On Jan 23, 2014, at 11:35 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:

> Noted these today running "make check", configured/built with icc-14:
>
> make[3]: Entering directory `/brashear/hargrove/OMPI/openmpi-1.7-latest-linux-x86_64-uv/BLD-icc14/test/class'
> CC ompi_rb_tree.o
> ../../../openmpi-source/test/class/ompi_rb_tree.c(368): warning #810: conversion from "mca_mpool_base_module_t *" to "int" may lose significant bits
> } else if(i != ((int) ((ompi_test_rb_value_t *) result)->registered_mpools[0]))
> ^
>
> ../../../openmpi-source/test/class/ompi_rb_tree.c(376): warning #810: conversion from "mca_mpool_base_module_t *" to "int" may lose significant bits
> } else if(i != ((int) ((ompi_test_rb_value_t *) result)->registered_mpools[0]))
> ^
>
> These are another case where an intermediate cast to (intptr_t) should be used.
>
> -Paul
>
> --
> Paul H. Hargrove PHHargrove_at_[hidden]
> Future Technologies Group
> Computer and Data Sciences Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel