From: Richard W.M. Jones Date: Tue, 5 Oct 2021 11:04:06 +0000 (+0100) Subject: configure: Use longer, non-deprecated form for OCaml warnings flags X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=fa5f2d24ff1cca3c5ac0615fe75011cf8c887891;p=goals.git 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. --- 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.