From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzjKE-0000OA-Gx for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:58:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzjKA-0002yp-0Z for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:58:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58742) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzjK9-0002wh-RB for qemu-devel@nongnu.org; Thu, 27 Oct 2016 07:58:21 -0400 From: Gerd Hoffmann Date: Thu, 27 Oct 2016 13:46:13 +0200 Message-Id: <1477568774-4817-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH] curses: build with -std=gnu99 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Samuel Thibault , Gerd Hoffmann --- 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