Building trunk (1.9a1r30302) and 1.7 (1.7.4rc2r30303) with --enable-debug on a linux/x86 (32-bit) platform revealed many "cast to pointer from integer of different size" warnings that could/should be avoided with an intermediate cast to intptr_t or uintptr_t.
On trunk the only ones are in the openib and vader btls: SRCDIR/ompi/mca/btl/openib/btl_openib.c:274: warning: cast from pointer to integer of different size SRCDIR/ompi/mca/btl/openib/btl_openib_endpoint.h:368: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_base.c:456: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:910: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:1387: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_udcm.c:1455: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/vader/btl_vader_fifo.h:78: warning: cast to pointer from integer of different size On v1.7 branch the openib ones are all present: SRCDIR/ompi/mca/btl/openib/btl_openib.c:272: warning: cast from pointer to integer of different size SRCDIR/ompi/mca/btl/openib/btl_openib_endpoint.h:368: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_base.c:456: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:910: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_rdmacm.c:1387: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/btl/openib/connect/btl_openib_connect_udcm.c:1455: warning: cast to pointer from integer of different size And there are a few more on v1.7 branch that are not seen in trunk: SRCDIR/ompi/mca/fcoll/dynamic/fcoll_dynamic_file_read_all.c:591: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/fcoll/dynamic/fcoll_dynamic_file_read_all.c:606: warning: cast to pointer from integer of different size SRCDIR/ompi/mca/io/ompio/io_ompio.c:249: warning: cast from pointer to integer of different size SRCDIR/ompi/mca/mtl/mx/mtl_mx_component.c:138: warning: return makes integer from pointer without a cast -Paul -- Paul H. Hargrove phhargr...@lbl.gov Future Technologies Group Computer and Data Sciences Department Tel: +1-510-495-2352 Lawrence Berkeley National Laboratory Fax: +1-510-486-6900