[Libguestfs] [PATCH 6/6] Enable compiler warnings, and fail on warnings

Matthew Booth mbooth at redhat.com
Mon Nov 18 14:17:50 UTC 2013


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

diff --git a/configure.ac b/configure.ac
index e58941d..07cc982 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,7 @@ dnl If the host is Windows, define _WIN32_WINNT and others.
 AC_CANONICAL_HOST
 case $host in
     *mingw*|*cygwin*|*win32*)
-        CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0500 -DUNICODE -D_UNICODE" ;;
+        CFLAGS="$CFLAGS -Wall -Werror -D_WIN32_WINNT=0x0500 -DUNICODE -D_UNICODE" ;;
 esac
 
 dnl Check for headers which are not present in some versions of MinGW.
-- 
1.8.3.1




More information about the Libguestfs mailing list