Subject: m4/guestfs-ocaml.m4: Fix deprecated warning format From: Richard W.M. Jones rjones@redhat.com Tue Oct 5 20:51:19 2021 +0100 Date: Tue Oct 5 21:08:07 2021 +0100: Git: 63c9cd933af75ca759fa2f2bbdbb07a699df5b30 In OCaml 4.13: Alert ocaml_deprecated_cli: Setting a warning with a sequence of lowercase or uppercase letters, like 'CDEFLMPSUVYZX', is deprecated. Use the equivalent signed form: +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3. (cherry picked from guestfs-tools commit fa4f59e1d99c08d7e0bae2a7cb54f254a6506d67) diff --git a/m4/guestfs-ocaml.m4 b/m4/guestfs-ocaml.m4 index 4b8a44dee..d7f9462ea 100644 --- a/m4/guestfs-ocaml.m4 +++ b/m4/guestfs-ocaml.m4 @@ -232,7 +232,7 @@ EOF ]) dnl Flags we want to pass to every OCaml compiler call. -OCAML_WARN_ERROR="-warn-error CDEFLMPSUVYZX+52-3" +OCAML_WARN_ERROR="-warn-error +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3" AC_SUBST([OCAML_WARN_ERROR]) OCAML_FLAGS="-g -annot $safe_string_option" AC_SUBST([OCAML_FLAGS])