Received: from eggs.gnu.org ([2001:4830:134:3::10]:50777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrxO4-0006xr-14 for qemu-devel@nongnu.org; Mon, 11 May 2015 19:45:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrxNz-0000am-P4 for qemu-devel@nongnu.org; Mon, 11 May 2015 19:45:27 -0400 Received: from mail-qc0-x233.google.com ([2607:f8b0:400d:c01::233]:35747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrxNz-0000ai-Kd for qemu-devel@nongnu.org; Mon, 11 May 2015 19:45:23 -0400 Received: by qcbgu10 with SMTP id gu10so77633918qcb.2 for ; Mon, 11 May 2015 16:45:23 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: <1431296361-16981-1-git-send-email-peter.maydell@linaro.org> Date: Mon, 11 May 2015 19:45:20 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <69493300-247E-428C-9B14-D8AE2F8D0FE7@gmail.com> References: <1431296361-16981-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH 0/6] ui/cocoa: Fix OSX 10.10 warnings (and drop 10.4 support) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Alexander Graf , =?iso-8859-1?Q?Andreas_F=E4rber?= , qemu-devel@nongnu.org, patches@linaro.org On May 10, 2015, at 6:19 PM, Peter Maydell wrote: > This patchset fixes a number of new compile warnings when building > on OSX10.10 which were not present on 10.9, which are mostly fixes > to avoid deprecated APIs. >=20 > I've chosen to implement some of them by simply dropping the > backward-compatibility support for OSX 10.4. This is basically > a pragmatic decision since I don't think we can support ancient > versions forever, especially when I don't actually have a system > to test compiling them on. (Last time I tried building QEMU on 10.4 > it was an insane pain because you had to start by building all > the dependencies and a new compiler too.) I would not be terribly > surprised somebody told me we'd already accidentally broken 10.4 > compilation, in fact. >=20 > 10.5 is the last PPC OSX release so it seems like a reasonable > minimum-version requirement (though I don't have a 10.5 setup > either, so am reliant on people telling me if it breaks.) >=20 > This patchset sits on top of my current cocoa.next branch which > you can find here: > https://git.linaro.org/people/peter.maydell/qemu-arm.git cocoa.next >=20 > If you have a pre-10.10 system and can test that this patchset > doesn't break compilation that would be nice. (I checked the > Apple documentation's notes about when functions and constants > were first defined, so it should be OK...) >=20 > Peter Maydell (6): > ui/cocoa: Drop tests for CGImageCreateWithImageInRect support > ui/cocoa: Remove compatibility ifdefs for OSX 10.4 > ui/cocoa: openPanelDidEnd returnCode should be NSInteger, not int > ui/cocoa: Declare that QemuCocoaAppController implements > NSApplicationDelegate > ui/cocoa: Don't use NSWindow useOptimizedDrawing on OSX 10.10 and up > ui/cocoa: Avoid deprecated NSOKButton/NSCancelButton constants >=20 > ui/cocoa.m | 87 = ++++++++++++++++++++++++++------------------------------------ > 1 file changed, 37 insertions(+), 50 deletions(-) >=20 > --=20 > 2.2.1 >=20 I hate seeing support for older operating system end. The only thing you = appear to be seeing are warnings. Are they really so bad? It might be = simpler to just disable warnings. In the end I guess there isn't someone = out there who is using QEMU on Mac OS 10.4 or earlier.=20=