From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
QEMU <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros
Date: Mon, 12 Oct 2015 17:34:17 +0100 [thread overview]
Message-ID: <20151012163416.GA7808@work-vm> (raw)
In-Reply-To: <CAFEAcA-7jfGFyQqwwrjf9e64nGs-51012v6hurr1kRsVcFdyog@mail.gmail.com>
* Peter Maydell (peter.maydell@linaro.org) wrote:
> On 12 October 2015 at 13:31, Daniel P. Berrange <berrange@redhat.com> wrote:
> > On Mon, Oct 12, 2015 at 02:24:36PM +0200, Marc-André Lureau wrote:
> >> What about just using the macro, but not bumping glib requirement?
> >
> > It would be desirable - I think someone explored using the GLIB_VERSION
> > macros before, without bumping version. I can't remember what the problem
> > was that made them abandon that though - maybe someone else recalls...
>
> I think that was David Gilbert, and I vaguely recall there being
> bad interactions with our glib-compat.h header.
My notes and memory are both somewhat fuzzy on it.
I think that the GLIB_VERSION_MIN/MAX macros only went in in 2.32
but then once you have them they offer a range allowing you to state you
need a minimum of 2.26; so if we bump the minimum to 2.26
then becareful to check it still works at that.
The interaction of stuff that includes glib.h and others that
include glib-compat.h was messy; I was working on the assumption
that stuff that included glib-compat.h knew it was using newer
things and didn't expect a warning; the problem that Peter
pointed out was that glib-compat gets included by qemu-common so
actually the warnings get disabled in loads of places.
Dave
>
> -- PMM
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2015-10-12 16:34 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 10:54 [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros marcandre.lureau
2015-10-12 10:54 ` [Qemu-devel] [PATCH 1/3] hw/acpi/aml-build: remove useless glib version check marcandre.lureau
2015-10-12 13:31 ` [Qemu-trivial] " Marc-André Lureau
2015-10-12 13:31 ` [Qemu-devel] " Marc-André Lureau
2015-10-29 7:28 ` [Qemu-trivial] " Michael Tokarev
2015-10-29 7:28 ` [Qemu-devel] " Michael Tokarev
2015-10-12 10:54 ` [Qemu-devel] [PATCH 2/3] configure: require glib 2.26 marcandre.lureau
2015-10-12 10:54 ` [Qemu-devel] [PATCH 3/3] Remove glib < 2.26 compatibility code marcandre.lureau
2015-10-12 11:18 ` [Qemu-devel] [PATCH 0/3] Use glib 2.26 version macros Cornelia Huck
2015-10-12 11:26 ` Daniel P. Berrange
2015-10-12 12:24 ` Marc-André Lureau
2015-10-12 12:31 ` Daniel P. Berrange
2015-10-12 12:38 ` Peter Maydell
2015-10-12 16:02 ` John Snow
2015-10-12 16:34 ` Dr. David Alan Gilbert [this message]
2015-10-12 17:10 ` Peter Maydell
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=20151012163416.GA7808@work-vm \
--to=dgilbert@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=peter.maydell@linaro.org \
--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.