Wanlong Gao
2011-Nov-13 06:14 UTC
[Libguestfs] [PATCH] kvm-tool: don't add the -Wunused-result flag
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 at 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
Seemingly Similar Threads
- [PATCH] AUTHORS: add the email address for each authors
- [LLVMdev] Turning off color in clang error mesages?
- [LLVMdev] warnings in inline assembly with used labels and -Wunused-label
- [PATCH 1/3] ext2: tweak the error returned message of resize2fs-M(BZ755729)
- Re: make install libvirt v5.5.0 failed