All of lore.kernel.org
 help / color / mirror / Atom feed
* [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile
@ 2008-03-24 18:44 ` Jerone Young
  0 siblings, 0 replies; 14+ messages in thread
From: Jerone Young @ 2008-03-24 18:44 UTC (permalink / raw)
  To: kvm-devel; +Cc: kvm-ppc-devel

# HG changeset patch
# User Jerone Young <jyoung5@us.ibm.com>
# Date 1206384205 18000
# Branch merge
# Node ID e23a26d1da04a6dbb831da7d03922abf95de7b30
# Parent  972f62b6acae693c388d7b05d3a9ba7ef26ab4a0
Add -Werror to libkvm compile

This patch adds -Werror to CFLAGS for compilation of libkvm. This should stop complaints about Warnings.

Often I miss these warnings as they scroll right by with everything else during a big compile. This will help catch them.

For qemu this using -Werror is not possible as a lot of qemu throw a gcc warning of some sort.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

diff --git a/libkvm/Makefile b/libkvm/Makefile
--- a/libkvm/Makefile
+++ b/libkvm/Makefile
@@ -11,6 +11,7 @@ CFLAGS += $(call cc-option, -fno-stack-p
 CFLAGS += $(call cc-option, -fno-stack-protector, "")
 CFLAGS += $(call cc-option, -fno-stack-protector-all, "")
 CFLAGS += -I $(KERNELDIR)/include
+CFLAGS += -Werror
 
 LDFLAGS += $(CFLAGS)
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-03-26 16:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-24 18:44 [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile Jerone Young
2008-03-24 18:44 ` Jerone Young
2008-03-24 19:42 ` [kvm-ppc-devel] " Segher Boessenkool
2008-03-24 19:42   ` Segher Boessenkool
2008-03-25 16:33   ` [kvm-ppc-devel] [kvm-devel] [PATCH] Add -Werror to Jerone Young
2008-03-25 16:33     ` [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile Jerone Young
2008-03-25 17:08     ` [kvm-ppc-devel] [kvm-devel] [PATCH] Add -Werror Avi Kivity
2008-03-25 17:08       ` [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile Avi Kivity
2008-03-25 19:09       ` [kvm-ppc-devel] [kvm-devel] [PATCH] Add Jerone Young
2008-03-25 19:09         ` [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile Jerone Young
2008-03-26 16:41         ` [kvm-ppc-devel] [kvm-devel] [PATCH] Add Avi Kivity
2008-03-26 16:41           ` [kvm-ppc-devel] [PATCH] Add -Werror to libkvm compile Avi Kivity
2008-03-24 20:28 ` [kvm-ppc-devel] [kvm-devel] [PATCH] Add -Werror to libkvm Anthony Liguori
2008-03-24 20:28   ` [PATCH] Add -Werror to libkvm compile Anthony Liguori

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.