Re: [Qemu-devel] OS X compile fix

2014-05-19 Thread Aggeler Fabian
You’re configuration works for me on 10.9 with clang from the XCode command line tools. $ xcode-select --install $ clang --version Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn) Target: x86_64-apple-darwin13.2.0 Thread model: posix Best, Fabian On 19 May 2014, at 10:19, Peter M

Re: [Qemu-devel] OS X compile fix

2014-05-19 Thread Peter Maydell
On 19 May 2014 01:06, Peter Bartoli wrote: > On May 18, 2014, at 4:09 PM, Peter Maydell wrote: > > and looking at the preprocessor output it's defined in > /usr/lib/clang/5.0/include/limits.h > > > Thanks, Peter ... I don't have a /usr/lib/clang ... where are you getting it > from? Pretty sure t

Re: [Qemu-devel] OS X compile fix

2014-05-18 Thread Peter Bartoli
On May 18, 2014, at 4:09 PM, Peter Maydell wrote: > and looking at the preprocessor output it's defined in > /usr/lib/clang/5.0/include/limits.h Thanks, Peter ... I don't have a /usr/lib/clang ... where are you getting it from? -peter

Re: [Qemu-devel] OS X compile fix

2014-05-18 Thread Peter Maydell
On 18 May 2014 23:45, Peter Bartoli wrote: > So, just to add, in case it's helpful, "long time" means since 2012-ish, when > QEMU first came to my attention. I'm almost always running the current > version of Mac OS X on the only system I'm running QEMU on, and have always > had to use that pa

Re: [Qemu-devel] OS X compile fix

2014-05-18 Thread Peter Bartoli
On May 18, 2014, at 4:40 AM, Peter Maydell wrote: > On 18 May 2014 09:50, Andreas Färber wrote: >> Am 18.05.2014 01:14, schrieb Peter Bartoli: >>> At the recommendation of Mark Cave-Ayland, I'm sending this patch in to >>> remedy a long-time Mac OS X compile issue. >> >> Define "long-time"? 2.0

Re: [Qemu-devel] OS X compile fix

2014-05-18 Thread Peter Maydell
On 18 May 2014 09:50, Andreas Färber wrote: > Am 18.05.2014 01:14, schrieb Peter Bartoli: >> At the recommendation of Mark Cave-Ayland, I'm sending this patch in to >> remedy a long-time Mac OS X compile issue. > > Define "long-time"? 2.0 compiled just fine for me on v10.5.8 with > gcc-4.2. I see

Re: [Qemu-devel] OS X compile fix

2014-05-18 Thread Andreas Färber
Hi, Am 18.05.2014 01:14, schrieb Peter Bartoli: > > At the recommendation of Mark Cave-Ayland, I'm sending this patch in to > remedy a long-time Mac OS X compile issue. Define "long-time"? 2.0 compiled just fine for me on v10.5.8 with gcc-4.2. I see a number of deprecation and possibly-used-unin

[Qemu-devel] OS X compile fix

2014-05-17 Thread Peter Bartoli
At the recommendation of Mark Cave-Ayland, I'm sending this patch in to remedy a long-time Mac OS X compile issue. The offsets are a way off in this diff, but it still works. -peter --- block/raw-posix.c.orig 2012-12-03 11:37:05.0 -0800 +++ block/raw-posix.c 2012-12-03 18:24:47