Re: [Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Dylan Baker
Quoting Kenneth Graunke (2017-09-20 13:42:45) > On Wednesday, September 20, 2017 1:27:39 PM PDT Dylan Baker wrote: > > It is possible to have DEBUG disabled but asserts on, which cannot build > > because these asserts work on members that are only present when DEBUG > > is on. > > > >

Re: [Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Kenneth Graunke
On Wednesday, September 20, 2017 1:27:39 PM PDT Dylan Baker wrote: > It is possible to have DEBUG disabled but asserts on, which cannot build > because these asserts work on members that are only present when DEBUG > is on. > > Signed-off-by: Dylan Baker > --- >

[Mesa-dev] [RFC 2/4] util/ralloc: Don't define assert with magic member without DEBUG

2017-09-20 Thread Dylan Baker
It is possible to have DEBUG disabled but asserts on, which cannot build because these asserts work on members that are only present when DEBUG is on. Signed-off-by: Dylan Baker --- src/util/ralloc.c | 8 1 file changed, 8 insertions(+) diff --git