Skip to content

OSC/RDMA warnings #4950

@rhc54

Description

@rhc54

On current master, building on a Mac, I get a flood of warnings that look like they are due to some formatting issues in a debug macro:

In file included from osc_rdma_request.c:23:0:
osc_rdma.h: In function 'ompi_osc_rdma_sync_rdma_complete':
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct ompi_osc_rdma_aggregation_t *' [-Wformat=]
         OPAL_THREAD_SCOPED_LOCK(&sync->lock,
         ^
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct ompi_osc_rdma_peer_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct ompi_osc_rdma_aggregation_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct ompi_osc_rdma_peer_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct ompi_osc_rdma_aggregation_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct ompi_osc_rdma_peer_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 3 has type 'struct ompi_osc_rdma_aggregation_t *' [-Wformat=]
osc_rdma.h:569:9: warning: format '%p' expects argument of type 'void *', but argument 4 has type 'struct ompi_osc_rdma_peer_t *' [-Wformat=]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions