qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] curses: build with -std=gnu99


From: G 3
Subject: [Qemu-devel] [PATCH] curses: build with -std=gnu99
Date: Thu, 27 Oct 2016 10:51:08 -0400


On Oct 27, 2016, at 8:04 AM, address@hidden 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]