[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



---
 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]