qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Stefan Weil <sw@weilnetz.de>,
	QEMU Developers <Qemu-devel@nongnu.org>,
	Liviu Ionescu <ilg@livius.net>
Subject: Re: [Qemu-devel] MinGW build
Date: Thu, 03 Dec 2015 15:30:16 +0100	[thread overview]
Message-ID: <874mfzli4n.fsf@emacs.mitica> (raw)
In-Reply-To: <CAFEAcA9YhDWCT3TmM4U4cNT7zchrmiuGm8aQQbbFOCZEhLR_WQ@mail.gmail.com> (Peter Maydell's message of "Thu, 3 Dec 2015 14:15:52 +0000")

Peter Maydell <peter.maydell@linaro.org> wrote:
> On 3 December 2015 at 11:58, Peter Maydell <peter.maydell@linaro.org> wrote:
>> On 29 November 2015 at 12:03, Juan Quintela <quintela@redhat.com> wrote:
>>> Peter Maydell <peter.maydell@linaro.org> wrote:
>>>> Yes, I've reported it to them, and I agree we don't need to fix
>>>> this for 2.5. (There are other warnings with this mingw compiler
>>>> anyway.)
>>>
>>> For my compiler (F23 cross-compiler) and a fairly large configuration (*)
>>> this is the only warning.
>>
>> The others I see are:
>>
>>   CC    qga/commands.o
>> In file included from
>> /home/petmay01/linaro/mingw64/lib/glib-2.0/include/glibconfig.h:9:0,
>>                  from
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gtypes.h:34,
>>                  from
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/galloca.h:34,
>>                  from /home/petmay01/linaro/mingw64/include/glib-2.0/glib.h:32,
>>                  from /home/petmay01/linaro/qemu-for-merges/qga/commands.c:13:
>> /home/petmay01/linaro/qemu-for-merges/qga/commands.c: In function
>> ‘qmp_guest_exec_status’:
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:162:53:
>> error: typedef ‘_GStaticAssertCompileTimeAssertion_0’ locally defined
>> but not used [-Werror=unused-local-typedefs]
>>  #define G_STATIC_ASSERT(expr) typedef char G_PASTE
>> (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
>>                                                      ^
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:159:47:
>> note: in definition of macro ‘G_PASTE_ARGS’
>>  #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2
>>                                                ^
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gmacros.h:162:44:
>> note: in expansion of macro ‘G_PASTE’
>>  #define G_STATIC_ASSERT(expr) typedef char G_PASTE
>> (_GStaticAssertCompileTimeAssertion_, __COUNTER__)[(expr) ? 1 : -1]
>>                                             ^
>> /home/petmay01/linaro/mingw64/include/glib-2.0/glib/gatomic.h:79:5:
>> note: in expansion of macro ‘G_STATIC_ASSERT’
>>      G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint));                     \
>>      ^
>> /home/petmay01/linaro/qemu-for-merges/qga/commands.c:157:21: note: in
>> expansion of macro ‘g_atomic_int_get’
>>      bool finished = g_atomic_int_get(&gei->finished);
>>                      ^
>
> It looks like these were fixed in glib upstream:
> https://git.gnome.org/browse/glib/commit/?id=0ea7abaed5
> (I'm using glib 2.34.3-1, which doesn't have the fix.)
>
> thanks

Yeap, my glib lib is 2.46.1.

mingw32-glib2-2.46.1-1.fc23.noarch

#livinginthebleedingedge O:-)

Thanks, Juan.

  reply	other threads:[~2015-12-03 14:30 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-26 19:55 [Qemu-devel] MinGW build Liviu Ionescu
2014-11-26 20:13 ` Peter Maydell
2014-11-26 20:19   ` Stefan Weil
2014-11-26 21:44   ` Liviu Ionescu
2014-11-27 16:43   ` Liviu Ionescu
2014-11-27 19:34     ` Peter Maydell
2014-11-27 19:57       ` Liviu Ionescu
2014-11-27 20:09         ` Stefan Weil
2014-11-27 20:14           ` Liviu Ionescu
2014-11-27 20:18           ` Peter Maydell
2014-11-27 20:27             ` Liviu Ionescu
2014-11-27 22:04               ` Peter Maydell
2014-11-28  0:30                 ` Liviu Ionescu
2014-11-28  7:14             ` Stefan Weil
2014-11-28  8:41               ` Peter Maydell
2015-11-27 18:49               ` Peter Maydell
2015-11-27 19:16                 ` Stefan Weil
2015-11-27 21:05                   ` Peter Maydell
2015-11-29 12:03                     ` Juan Quintela
2015-12-03 11:58                       ` Peter Maydell
2015-12-03 14:15                         ` Peter Maydell
2015-12-03 14:30                           ` Juan Quintela [this message]
2015-11-30 13:24                 ` Juan Quintela
2015-11-30 13:29                   ` Stefan Weil
2014-11-27 20:52           ` Liviu Ionescu
2014-11-27 21:14             ` Stefan Weil
2014-11-27 21:38               ` Liviu Ionescu
2014-11-28  6:20                 ` Stefan Weil
2014-11-28  6:23                   ` Liviu Ionescu
2014-11-28  7:03                     ` Stefan Weil
2014-12-01 10:30                       ` Liviu Ionescu
2014-12-01 18:42                         ` Stefan Weil
2014-12-02 18:28                           ` Liviu Ionescu

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=874mfzli4n.fsf@emacs.mitica \
    --to=quintela@redhat.com \
    --cc=Qemu-devel@nongnu.org \
    --cc=ilg@livius.net \
    --cc=peter.maydell@linaro.org \
    --cc=sw@weilnetz.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).