From fa5f2d24ff1cca3c5ac0615fe75011cf8c887891 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Tue, 5 Oct 2021 12:04:06 +0100 Subject: [PATCH] configure: Use longer, non-deprecated form for OCaml warnings flags 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 10d0535..ef0c7a1 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,7 @@ AC_CHECK_PROG([POD2TEXT], [pod2text], [pod2text], [ ]) dnl Substitute OCaml flags and packages. -AC_SUBST([OCAMLFLAGS], ["-g -safe-string -warn-error CDEFLMPSUVYZX+52-3"]) +AC_SUBST([OCAMLFLAGS], ["-g -safe-string -warn-error +C+D+E+F+L+M+P+S+U+V+Y+Z+X+52-3"]) AC_SUBST([OCAMLPACKAGES], ["-package str,unix,threads -thread"]) dnl Produce output files. -- 1.8.3.1