Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] 32 bit udapl warnings
From: Don Kerr (Don.Kerr_at_[hidden])
Date: 2008-01-31 08:45:54


This was brought to my attention once before but I don't see this
message so I just plain forgot about it. :-(
uDAPL defines its pointers as uint64, "typedef DAT_UINT64 DAT_VADDR",
and pval is a "void *" which is why the message comes up. If I remove
the cast I believe I get a different warning and I just haven't stopped
to think of a way around this.

Tim Prins wrote:
> Hi,
>
> I am seeing some warnings on the trunk when compiling udapl in 32 bit
> mode with OFED 1.2.5.1:
>
> btl_udapl.c: In function 'udapl_reg_mr':
> btl_udapl.c:95: warning: cast from pointer to integer of different size
> btl_udapl.c: In function 'mca_btl_udapl_alloc':
> btl_udapl.c:852: warning: cast from pointer to integer of different size
> btl_udapl.c: In function 'mca_btl_udapl_prepare_src':
> btl_udapl.c:959: warning: cast from pointer to integer of different size
> btl_udapl.c:1008: warning: cast from pointer to integer of different size
> btl_udapl_component.c: In function 'mca_btl_udapl_component_progress':
> btl_udapl_component.c:871: warning: cast from pointer to integer of
> different size
> btl_udapl_endpoint.c: In function 'mca_btl_udapl_endpoint_write_eager':
> btl_udapl_endpoint.c:130: warning: cast from pointer to integer of
> different size
> btl_udapl_endpoint.c: In function 'mca_btl_udapl_endpoint_finish_max':
> btl_udapl_endpoint.c:775: warning: cast from pointer to integer of
> different size
> btl_udapl_endpoint.c: In function 'mca_btl_udapl_endpoint_post_recv':
> btl_udapl_endpoint.c:864: warning: cast from pointer to integer of
> different size
> btl_udapl_endpoint.c: In function
> 'mca_btl_udapl_endpoint_initialize_control_message':
> btl_udapl_endpoint.c:1012: warning: cast from pointer to integer of
> different size
>
>
> Thanks,
>
> Tim
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>