Skip to contentSkip to conversation

Checking dependencies for current OCaml compiler version

Cocci Markus Elfring 1 participant 1 message Jun 22, 2019

lore
Share & tools
lore
#0 lore raw

Hello,

I have tried out to build the current Coccinelle software again based on the OPAM switch “4.08.0”.
Unfortunately, I stumble on the following error message.

…
ocamlfind ocamlc -c -no-alias-deps -I . stdcompat__pervasives.ml -o stdcompat__pervasives.cmo File "stdcompat__pervasives.ml", line 1, characters 8-18:
1 | include Pervasives

            ^^^^^^^^^^

Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.

If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "stdcompat__pervasives.ml", line 1:
Error: The implementation stdcompat__pervasives.ml
does not match the interface stdcompat__pervasives.cmi:
The value `protect' is required but not provided
File "stdcompat__pervasives_s.mli", line 55, characters 2-60:
Expected declaration
make[2]: *** [Makefile:1370: stdcompat__pervasives.cmo] Fehler 2
make[2]: Verzeichnis „/home/elfring/Projekte/Coccinelle/20160205/bundles/stdcompat/stdcompat-8“ wird verlassen make[1]: *** [Makefile:3: all] Fehler 2
…

How will the software situation be improved then?

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci