From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:39183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTjOS-0004FW-0d for qemu-devel@nongnu.org; Mon, 06 Jun 2011 19:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTjOQ-0006cA-FF for qemu-devel@nongnu.org; Mon, 06 Jun 2011 19:39:35 -0400 Received: from mail-pz0-f45.google.com ([209.85.210.45]:65193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTjOQ-0006c6-3r for qemu-devel@nongnu.org; Mon, 06 Jun 2011 19:39:34 -0400 Received: by pzk30 with SMTP id 30so2335121pzk.4 for ; Mon, 06 Jun 2011 16:39:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <19A88706-A73E-4D3B-9F9E-2ED58FCDF1D5@web.de> References: <1306708579-16268-1-git-send-email-cerbere@gmail.com> <19A88706-A73E-4D3B-9F9E-2ED58FCDF1D5@web.de> From: Alexandre Raymond Date: Mon, 6 Jun 2011 19:39:11 -0400 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] Cocoa: avoid warning related to multiple method definitions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Andreas_F=C3=A4rber?= Cc: qemu-devel@nongnu.org Hi Andreas, On Tue, May 31, 2011 at 4:07 PM, Andreas F=C3=A4rber wrote: > Hello Alexandre, > > Am 30.05.2011 um 00:36 schrieb Alexandre Raymond: > >> This fix forces a message to be sent to the handleEvent method >> of the QemuCocoaView class instead of letting the system determine >> the right method. >> >> This is caused by the fact that the cocoaView variable is a generic 'id'= . > > In that case I would prefer to change the variable definition, moving it > further down, instead of introducing a cast. I am working on a cleanup of the cocoa code. As a temporary fix, would you accept a simple patch renaming handleEvent to handleGUIEvent in order to avoid the compilation warning ? Alexandre