Re: [Qemu-devel] [PATCH] glib-compat.h: change assert to g_assert

2015-05-07 Thread Laurent Desnogues
Hello, On Thu, May 7, 2015 at 12:41 PM, Michael Tokarev wrote: > include/glib-compat.h defines a bunch of functions based on glib primitives, > and uses assert() without including assert.h. Replace assert() with > g_assert() to make the file more self-contained, and to fix compilation > breakage

[Qemu-devel] [PATCH] glib-compat.h: change assert to g_assert

2015-05-07 Thread Michael Tokarev
include/glib-compat.h defines a bunch of functions based on glib primitives, and uses assert() without including assert.h. Replace assert() with g_assert() to make the file more self-contained, and to fix compilation breakage after 28507a415a9b1e. Reported-by: Laurent Desnogues Signed-off-by: Mi