qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too
@ 2016-06-08  8:13 Thomas Huth
  2016-06-08  8:45 ` Daniel P. Berrange
  2016-06-08 14:09 ` Stefan Hajnoczi
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Huth @ 2016-06-08  8:13 UTC (permalink / raw)
  To: Peter Maydell, Stefan Weil, qemu-devel
  Cc: Stefan Hajnoczi, Daniel P. Berrange, Paolo Bonzini,
	Yuri Pudgorodskiy

MinGW seems to compile currently without warnings, so it should
be safe to enable -Werror now for this environment, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 ... at least it compiles without errors for me here. I hope that's
 also true for different versions of MinGW ... would be great if
 everybody who has such a compiler installed could give it a try!

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 4627d2c..2e5b818 100755
--- a/configure
+++ b/configure
@@ -1393,7 +1393,7 @@ z_version=$(cut -f3 -d. $source_path/VERSION)
 
 if test -z "$werror" ; then
     if test -d "$source_path/.git" -a \
-        "$linux" = "yes" ; then
+        \( "$linux" = "yes" -o "$mingw32" = "yes" \) ; then
         werror="yes"
     else
         werror="no"
-- 
1.8.3.1

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

end of thread, other threads:[~2016-06-08 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08  8:13 [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too Thomas Huth
2016-06-08  8:45 ` Daniel P. Berrange
2016-06-08 14:09 ` Stefan Hajnoczi
2016-06-08 18:55   ` Peter Maydell
2016-06-08 19:52     ` Stefan Weil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).