On 1/13/19 9:36 PM, Yuval Shaia wrote:
On Sun, Jan 13, 2019 at 09:24:40PM +0200, Yuval Shaia wrote:
On Sat, Jan 12, 2019 at 05:02:24PM +0200, Marcel Apfelbaum wrote:
Do not initialize structs with {0} since some
CLANG versions do not support it.
Use memset instead.
It is easier than patchi
Hi Cornelia,
On 1/14/19 1:47 PM, Cornelia Huck wrote:
On Sat, 12 Jan 2019 17:02:24 +0200
Marcel Apfelbaum wrote:
Do not initialize structs with {0} since some
CLANG versions do not support it.
Use memset instead.
Can't you use {} instead? (See, for example, commit ebf2a499a5c).
I'll try i
On Sat, 12 Jan 2019 17:02:24 +0200
Marcel Apfelbaum wrote:
> Do not initialize structs with {0} since some
> CLANG versions do not support it.
>
> Use memset instead.
Can't you use {} instead? (See, for example, commit ebf2a499a5c).
>
> Signed-off-by: Marcel Apfelbaum
> ---
> contrib/rdmacm
On Sun, Jan 13, 2019 at 09:24:40PM +0200, Yuval Shaia wrote:
> On Sat, Jan 12, 2019 at 05:02:24PM +0200, Marcel Apfelbaum wrote:
> > Do not initialize structs with {0} since some
> > CLANG versions do not support it.
> >
> > Use memset instead.
>
> It is easier than patching CLANG ha? :)
>
> >
On Sat, Jan 12, 2019 at 05:02:24PM +0200, Marcel Apfelbaum wrote:
> Do not initialize structs with {0} since some
> CLANG versions do not support it.
>
> Use memset instead.
It is easier than patching CLANG ha? :)
>
> Signed-off-by: Marcel Apfelbaum
> ---
> contrib/rdmacm-mux/main.c | 12
Do not initialize structs with {0} since some
CLANG versions do not support it.
Use memset instead.
Signed-off-by: Marcel Apfelbaum
---
contrib/rdmacm-mux/main.c | 12 +---
hw/rdma/rdma_backend.c| 16
2 files changed, 21 insertions(+), 7 deletions(-)
diff --git a/c