Re: [Qemu-devel] [PATCH V2] migration/rdma: clang compilation fix

2019-03-05 Thread Dr. David Alan Gilbert
* Marcel Apfelbaum (marcel.apfelb...@gmail.com) wrote: > Configuring QEMU with: > ../configure --cc=clang --enable-rdma > > Leads to compilation error: > > CC migration/rdma.o > CC migration/block.o > qemu/migration/rdma.c:3615:58: error: taking address of packed member >

Re: [Qemu-devel] [PATCH V2] migration/rdma: clang compilation fix

2019-03-04 Thread Philippe Mathieu-Daudé
On 3/4/19 7:49 PM, Marcel Apfelbaum wrote: > Configuring QEMU with: > ../configure --cc=clang --enable-rdma > > Leads to compilation error: > > CC migration/rdma.o > CC migration/block.o > qemu/migration/rdma.c:3615:58: error: taking address of packed member > 'rkey' of c

Re: [Qemu-devel] [PATCH V2] migration/rdma: clang compilation fix

2019-03-04 Thread Dr. David Alan Gilbert
* Marcel Apfelbaum (marcel.apfelb...@gmail.com) wrote: > Configuring QEMU with: > ../configure --cc=clang --enable-rdma > > Leads to compilation error: > > CC migration/rdma.o > CC migration/block.o > qemu/migration/rdma.c:3615:58: error: taking address of packed member >

[Qemu-devel] [PATCH V2] migration/rdma: clang compilation fix

2019-03-04 Thread Marcel Apfelbaum
Configuring QEMU with: ../configure --cc=clang --enable-rdma Leads to compilation error: CC migration/rdma.o CC migration/block.o qemu/migration/rdma.c:3615:58: error: taking address of packed member 'rkey' of class or structure 'RDMARegisterResult' may result in an