From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzm1b-0006aU-Vj for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:51:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzm1X-00055x-Gz for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:51:24 -0400 Received: from mail-oi0-x244.google.com ([2607:f8b0:4003:c06::244]:34885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzm1X-00055E-BE for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:51:19 -0400 Received: by mail-oi0-x244.google.com with SMTP id n202so4915020oig.2 for ; Thu, 27 Oct 2016 07:51:18 -0700 (PDT) In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4B74416B-EEBE-408F-B589-41318045938D@gmail.com> Content-Transfer-Encoding: 7bit From: G 3 Date: Thu, 27 Oct 2016 10:51:08 -0400 Subject: [Qemu-devel] [PATCH] curses: build with -std=gnu99 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , qemu-devel qemu-devel Cc: Samuel Thibault On Oct 27, 2016, at 8:04 AM, qemu-devel-request@nongnu.org wrote: > --- > ui/Makefile.objs | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/ui/Makefile.objs b/ui/Makefile.objs > index dc936f1..62f4cf3 100644 > --- a/ui/Makefile.objs > +++ b/ui/Makefile.objs > @@ -17,6 +17,9 @@ common-obj-$(CONFIG_CURSES) += curses.o > common-obj-$(CONFIG_VNC) += $(vnc-obj-y) > common-obj-$(CONFIG_GTK) += gtk.o x_keymap.o > > +# needed to make gcc accept wide unicode chars without warning > +curses.o-cflags := -std=gnu99 > + > ifeq ($(CONFIG_SDLABI),1.2) > sdl.mo-objs := sdl.o sdl_zoom.o > endif > -- > 1.8.3.1 Could we add a commit message to this patch? It could answer questions like: Why this patch is needed? Who needs this patch? What problem it solves.