Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] Warnings in v1.7.4: rcache
From: Rolf vandeVaart (rvandevaart_at_[hidden])
Date: 2013-10-23 21:49:58


Yes, that is from one of my CMRs. I always configure with -enable-picky but that did not pick up this warning.
I will fix this in the trunk in the morning (watching the Red Sox right now :)) and then file CMR to bring over.
Rolf

From: devel [mailto:devel-bounces_at_[hidden]] On Behalf Of Ralph Castain
Sent: Wednesday, October 23, 2013 7:19 PM
To: Open MPI Developers
Subject: [OMPI devel] Warnings in v1.7.4: rcache

One of the recent CMRs has created new warnings in v1.7.4:

rcache_vma.c: In function 'mca_rcache_vma_find':
rcache_vma.c:58:23: warning: pointer of type 'void *' used in arithmetic [-Wpedantic]
     bound_addr = addr + size - 1;
                       ^
rcache_vma.c:58:30: warning: pointer of type 'void *' used in arithmetic [-Wpedantic]
     bound_addr = addr + size - 1;
                              ^
rcache_vma.c: In function 'mca_rcache_vma_find_all':
rcache_vma.c:84:23: warning: pointer of type 'void *' used in arithmetic [-Wpedantic]
     bound_addr = addr + size - 1;
                       ^
rcache_vma.c:84:30: warning: pointer of type 'void *' used in arithmetic [-Wpedantic]
     bound_addr = addr + size - 1;
                              ^

Does someone know where these came from, and how to correct them?
Ralph

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------