This PR makes gsl-ocaml compatible with OCaml 5 by replacing the use of function short names (e.g copy_double) (which were removed in OCaml 5) by their full names (e.g. caml_copy_double) .
There is also a small fix that use an explicit cast to work around the fact that the Field macro returns now a volatile value, and another which adds the unix library as a dependency to the various examples.
This PR makes
gsl-ocaml
compatible with OCaml 5 by replacing the use of function short names (e.gcopy_double
) (which were removed in OCaml 5) by their full names (e.g.caml_copy_double
) .There is also a small fix that use an explicit cast to work around the fact that the
Field
macro returns now avolatile
value, and another which adds theunix
library as a dependency to the various examples.