Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: [OMPI devel] Warnings in v1.7.4: rcache
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-10-23 19:18:47


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