From: Stefan Weil <sw@weilnetz.de>
To: Alon Levy <alevy@redhat.com>, Anthony Liguori <aliguori@amazon.com>
Cc: "Laurent Desnogues" <laurent.desnogues@gmail.com>,
"Marc-André Lureau" <mlureau@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>,
"Don Slutz" <dslutz@verizon.com>
Subject: Re: [Qemu-devel] [PATCH v2] libcacard: Fix compilation for older versions of glib (bug #1258168)
Date: Sun, 08 Dec 2013 11:05:25 +0100 [thread overview]
Message-ID: <52A44465.5040705@weilnetz.de> (raw)
In-Reply-To: <52A43847.7030001@redhat.com>
Am 08.12.2013 10:13, schrieb Alon Levy:
> On 12/05/2013 08:41 PM, Stefan Weil wrote:
>> See https://bugs.launchpad.net/bugs/1258168
>>
>> libcacard/vscclient.c: In function 'do_socket_read':
>> libcacard/vscclient.c:410: warning: implicit declaration of function 'g_warn_if_reached'
>> libcacard/vscclient.c:410: warning: nested extern declaration of 'g_warn_if_reached'
>> libcacard/vscclient.c: In function 'main':
>> libcacard/vscclient.c:763: warning: implicit declaration of function 'g_byte_array_unref'
>> libcacard/vscclient.c:763: warning: nested extern declaration of 'g_byte_array_unref'
>> ...
>> libcacard/vscclient.o: In function `do_socket_read':
>> libcacard/vscclient.c:410: undefined reference to `g_warn_if_reached'
>> libcacard/vscclient.o: In function `main':
>> libcacard/vscclient.c:763: undefined reference to `g_byte_array_unref'
>>
>> g_warn_if_reached was added in glib 2.16, and g_byte_array_unref is
>> supported since glib 2.22. QEMU requires glib 2.12, so both names must
>> not be used.
>>
>> Instead of showing a warning for code which should not be reached, QEMU
>> better stops running, so g_warn_if_reached is not useful for QEMU.
> Just note that this fix is in vscclient, so this code is not part of
> qemu executable. If you are using QEMU (all caps) as the whole project,
> the commit message is ok, but it should clarify this is about the
> separate vscclient executable.
>
> Other then that ACK, I can send a pull request with the commit message
> fixed as I suggested.
Thanks for this hint. Please fix the commit message as you suggested.
Regards,
Stefan
prev parent reply other threads:[~2013-12-08 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 18:41 [Qemu-devel] [PATCH v2] libcacard: Fix compilation for older versions of glib (bug #1258168) Stefan Weil
2013-12-06 3:24 ` Don Slutz
2013-12-08 9:13 ` Alon Levy
2013-12-08 10:05 ` Stefan Weil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52A44465.5040705@weilnetz.de \
--to=sw@weilnetz.de \
--cc=alevy@redhat.com \
--cc=aliguori@amazon.com \
--cc=dslutz@verizon.com \
--cc=laurent.desnogues@gmail.com \
--cc=mlureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.