[Libguestfs] [PATCH 8/9] ocaml: Enable warn-error on warning 52.

Richard W.M. Jones rjones at redhat.com
Wed Oct 4 12:56:29 UTC 2017


Since the previous commits have fixed all instances of this warning,
it should now be safe to enable warn-error on it.
---
 m4/guestfs_ocaml.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/guestfs_ocaml.m4 b/m4/guestfs_ocaml.m4
index b6e4ad22d..acb6a9fd5 100644
--- a/m4/guestfs_ocaml.m4
+++ b/m4/guestfs_ocaml.m4
@@ -117,7 +117,7 @@ AM_CONDITIONAL([HAVE_OCAML_GETTEXT],
                [test "x$OCAML_PKG_gettext" != "xno" && test "x$OCAML_GETTEXT" != "xno"])
 
 dnl Flags we want to pass to every OCaml compiler call.
-OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX-3"
+OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX+52-3"
 AC_SUBST([OCAML_WARN_ERROR])
 OCAML_FLAGS="-g -annot -safe-string"
 AC_SUBST([OCAML_FLAGS])
-- 
2.13.2




More information about the Libguestfs mailing list