[PATCH] kvm-tool: don't add the -Wunused-result flag
13 Nov
2011
13 Nov
'11
6:14 a.m.
The -Wunused-result is the default option of gcc, so no need to add it to the FLAGS. And the previous version of gcc can't support this flag, it may cause a compile error. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> --- tools/kvm/Makefile | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index f4741f2..bb5f6b0 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -176,7 +176,6 @@ WARNINGS += -Wstrict-prototypes WARNINGS += -Wundef WARNINGS += -Wvolatile-register-var WARNINGS += -Wwrite-strings -WARNINGS += -Wunused-result CFLAGS += $(WARNINGS) -- 1.7.8.rc1
5488
Age (days ago)
5488
Last active (days ago)
0 comments
1 participants
participants (1)
-
Wanlong Gao