cocci.inria.fr archive mirror
 help / color / mirror / Atom feed
* [Cocci] Checking dependencies for current OCaml compiler version
@ 2019-06-22  9:11 Markus Elfring
  0 siblings, 0 replies; only message in thread
From: Markus Elfring @ 2019-06-22  9:11 UTC (permalink / raw)
  To: Coccinelle

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
Cocci@systeme.lip6.fr
https://systeme.lip6.fr/mailman/listinfo/cocci

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-22  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-22  9:11 [Cocci] Checking dependencies for current OCaml compiler version Markus Elfring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).