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 [email protected]
Future Technologies Group
Computer and Data Sciences Department Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory Fax: +1-510-486-6900