Re: [Mesa-dev] [PATCH mesa 03/12] nouveau: fix memset(0) of non-trivial structs

2018-10-29 Thread Ilia Mirkin
Is this legal in C++98? I don't think we require C++11 mesa-wide, at least not yet... On Mon, Oct 29, 2018 at 1:16 PM Eric Engestrom wrote: > > Signed-off-by: Eric Engestrom > --- > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp| 3 +-- > src/gallium/drivers/nouveau/codegen/nv50_ir_targ

[Mesa-dev] [PATCH mesa 03/12] nouveau: fix memset(0) of non-trivial structs

2018-10-29 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp| 3 +-- src/gallium/drivers/nouveau/codegen/nv50_ir_target.cpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/no