From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxFbC-000739-Vr for qemu-devel@nongnu.org; Tue, 26 May 2015 10:13:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxFav-0003lk-Ep for qemu-devel@nongnu.org; Tue, 26 May 2015 10:12:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxFav-0003lc-6K for qemu-devel@nongnu.org; Tue, 26 May 2015 10:12:37 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id DC6AE8E684 for ; Tue, 26 May 2015 14:12:36 +0000 (UTC) Message-ID: <1432649554.24602.16.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 26 May 2015 16:12:34 +0200 In-Reply-To: <55647E02.4000605@redhat.com> References: <1432135182-29676-1-git-send-email-kraxel@redhat.com> <1432135182-29676-5-git-send-email-kraxel@redhat.com> <5560BC64.6060600@redhat.com> <1432622125.28482.2.camel@nilsson.home.kraxel.org> <1432645002.24602.9.camel@nilsson.home.kraxel.org> <55647E02.4000605@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 4/5] gtk: add opengl support, using egl List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Max Reitz Cc: Paolo Bonzini , qemu-devel@nongnu.org On Di, 2015-05-26 at 16:06 +0200, Max Reitz wrote: > On 26.05.2015 14:56, Gerd Hoffmann wrote: > > On Di, 2015-05-26 at 08:35 +0200, Gerd Hoffmann wrote: > >> Hi, > >> > >>> only). That, or pass -Wno-deprecated-declarations for compiling > >>> ui/gtk.c, but that seems very ugly to me. > >> We can also try some #pragma warn dance, to limit the > >> -Wno-deprecated-declarations to a small code block. > >> > >> We have something simliar already for a bug in the gtk2 headers. > > i.e. like this: > > I don't like it very much, but you're the maintainer, so if you deem it > acceptable, I won't object. :-) It's not pretty indeed. But turning off deprecated declarations for the whole file (which would be a much less ugly one-liner in the Makefile) isn't a good solution either because gtk actually deprecates things now and then and I'd like us notice. If someone has better ideas I'm all ears. cheers, Gerd