Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] How to use ACSL in GUI and How to generateCoqcode



> http://frama-c.cea.fr/download/frama-c-Beryllium-20090902-why-2.21.tar.gz.
> But I got a syntax error at line 604, file src/kernel/db.ml

> (** Detection of the unused code of an application. *)
> module Sparecode = struct
>  let get =
>    ref (fun ~select_annot:_  -> not_yet_implemented "Sparecode.run")
>  let rm_unused_globals =
>    ref (fun ?project:_ -> not_yet_implemented
>"Sparecode.rm_unused_glob")   (*this is line 604*)
>end

> I tried both
>ocaml 3.10.2 and the latest
>3.11.1, got the same errors.

This is very strange, as the archive that you mention has been compiled
countless times without problem with both OCaml versions.
Are you positive that you are using 3.10.2 or 3.11.1 each time?
Did you, by any chance, compile only ocamlc and ocamlopt when
you were installing OCaml, leaving ocamlc.opt and ocamlopt.opt
provided by an older package in your distribution?

Try:
ocamlc -v
ocamlopt -v
ocamlc.opt -v
ocamlopt.opt -v

Also try de-installing any old OCaml package from your distribution,
if package dependencies do not make it too annoying.

Pascal