From: Consul <void@aleksoft.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Silence passing arg x of `xxxx' from incompatible pointer type warnings on Windows
Date: Wed, 06 May 2009 13:27:43 -0700 [thread overview]
Message-ID: <gtsrs6$d2b$1@ger.gmane.org> (raw)
In-Reply-To: <gtsmfu$p9c$1@ger.gmane.org>
Consul wrote:
> Johannes Schindelin wrote:
>> Hi,
>>
>> On Mon, 4 May 2009, Consul wrote:
>>
>>> Silence "passing arg x of `xxxx' from incompatible pointer type"
>>> warnings on Windows.
>>
>> Umm, I think you need to be a bit more specific which compiler you are
>> using. For example, I imagine that this issue just goes away if you
>> use TDM-GCC 4.4.0-2.
>>
Well, gcc 4.4.0 even more noisy in this context. My patch shuts it up as well.
On Linux it expects void* anyway, probably on other *nix variants as well,
so the cast is justified, isn't it?
migration-tcp.c: In function 'tcp_wait_for_connect':
migration-tcp.c:61: warning: passing argument 4 of 'getsockopt' from incompatible pointer type
/mingw/lib/gcc/mingw32/../../../include/winsock2.h:543: note: expected 'char *' but argument is of type 'int *'
prev parent reply other threads:[~2009-05-06 20:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-04 21:50 [Qemu-devel] Silence passing arg x of `xxxx' from incompatible pointer type warnings on Windows Consul
2009-05-06 11:43 ` Johannes Schindelin
2009-05-06 18:55 ` [Qemu-devel] " Consul
2009-05-06 20:27 ` Consul [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='gtsrs6$d2b$1@ger.gmane.org' \
--to=void@aleksoft.net \
--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 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).