Received: from eggs.gnu.org ([2001:4830:134:3::10]:32989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpwCk-0008A8-Qu for qemu-devel@nongnu.org; Wed, 06 May 2015 06:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpwCg-0007DO-HM for qemu-devel@nongnu.org; Wed, 06 May 2015 06:05:26 -0400 Message-ID: <5549E760.6030208@msgid.tls.msk.ru> Date: Wed, 06 May 2015 13:05:20 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1430141220-20123-1-git-send-email-mjt@msgid.tls.msk.ru> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] libcacard: stop including qemu-common.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Desnogues Cc: qemu-trivial@nongnu.org, Paolo Bonzini , "qemu-devel@nongnu.org" 06.05.2015 12:23, Laurent Desnogues wrote: > Hello, > > On Mon, Apr 27, 2015 at 3:27 PM, Michael Tokarev wrote: >> From: Paolo Bonzini >> >> This is a small step towards making libcacard standalone. > > on my system the removal of qemu-common.h inclusion broke compilation > due to assert being used in glib-compat.h. Interesting. What kind of build environment is that? I compile-tested on several platforms, all went fine.. ;) > A fix might be to include > assert.h in glib-compat.h. I prefer s/assert/g_assert/ in glib-compat.h. Thanks, /mjt