[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ssize_t: fix definition on mingw

From: Daniel P. Berrange
Subject: Re: [PATCH] ssize_t: fix definition on mingw
Date: Thu, 5 Apr 2012 14:05:10 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Apr 05, 2012 at 06:07:20AM -0600, Eric Blake wrote:
> On 04/05/2012 04:10 AM, Bruno Haible wrote:
> You forgot to check one (64-bit mingw64):
> $ x86_64-w64-mingw32-gcc -E foo.c | grep size_t
> __extension__ typedef unsigned long long size_t;
> __extension__ typedef long long ssize_t;
> size_t a;
> ssize_t b;
> but apparently that is also working.  Then how do I explain the compiler
> warning that Daniel was seeing under mingw64?  Daniel, were you testing
> with x86_64-w64-mingw32-gcc or i686-w64-mingw32-gcc?  Can you come up
> with a minimal test case that shows the issue you had?

I was testing mingw32, not mingw64, since the former is what is in
Fedora 16

|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

reply via email to

[Prev in Thread] Current Thread [Next in Thread]