Displaying 2 results from an estimated 2 matches for "62a6dd5da".
2019 Sep 05
2
[PATCH 0/1] Build fix for future OCaml 4.09
This is a simple fix for building also with the upcoming OCaml 4.09,
which has a slight API change in the C library.
This does not cover embedded copies such as ocaml-augeas, and
ocaml-libvirt, which are being fixed separately, and will then be
synchronized.
Pino Toscano (1):
  ocaml: make const the return value of caml_named_value()
 common/mlpcre/pcre-c.c   | 2 +-
 common/mltools/uri-c.c   |
2019 Sep 05
0
[PATCH 1/1] ocaml: make const the return value of caml_named_value()
...stness to build also in this case.
---
 common/mlpcre/pcre-c.c   | 2 +-
 common/mltools/uri-c.c   | 2 +-
 common/mlvisit/visit-c.c | 2 +-
 generator/daemon.ml      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/common/mlpcre/pcre-c.c b/common/mlpcre/pcre-c.c
index be054a004..62a6dd5da 100644
--- a/common/mlpcre/pcre-c.c
+++ b/common/mlpcre/pcre-c.c
@@ -73,7 +73,7 @@ init (void)
 static void
 raise_pcre_error (const char *msg, int errcode)
 {
-  value *exn = caml_named_value ("PCRE.Error");
+  const value *exn = caml_named_value ("PCRE.Error");
   value args[2...