Blame SOURCES/0006-Enable-same-warnings-as-libguestfs.patch

985088
From 5500a027ad231eb5bb16e36efee72b48cfac9528 Mon Sep 17 00:00:00 2001
985088
From: "Richard W.M. Jones" <rjones@redhat.com>
985088
Date: Mon, 27 Mar 2017 12:21:48 +0100
985088
Subject: [PATCH 06/17] Enable same warnings as libguestfs.
985088
985088
In particular 'warning 3' was still enabled before, meaning that the
985088
code would fail with newer OCaml compilers:
985088
985088
  File "top.ml", line 377, characters 12-25:
985088
  Warning 3: deprecated: String.create
985088
  Use Bytes.create instead.
985088
985088
Since we want to continue using old OCaml for now, don't enable
985088
this warning.
985088
---
985088
 src/Makefile.in | 2 +-
985088
 1 file changed, 1 insertion(+), 1 deletion(-)
985088
985088
diff --git a/src/Makefile.in b/src/Makefile.in
985088
index d29f2e8..d744fd7 100755
985088
--- a/src/Makefile.in
985088
+++ b/src/Makefile.in
985088
@@ -64,7 +64,7 @@ OBJS		+= main.cmo
985088
 
985088
 XOBJS		:= $(OBJS:.cmo=.cmx)
985088
 
985088
-OCAMLCFLAGS	:= -g -warn-error A-3
985088
+OCAMLCFLAGS	:= -g -warn-error CDEFLMPSUVYZX-3
985088
 OCAMLCLIBS	:= -linkpkg
985088
 
985088
 OCAMLOPTPACKAGES := $(OCAMLCPACKAGES)
985088
-- 
985088
2.9.3
985088