On Fri, 26 Jan 2018, John Thomson wrote:

> Use autoconf to test if ocaml version >= 4.02
> If so, use -unsafe-string for ocamlopt and ocamlc
> 
> Bytes & safe-string were introduced in ocaml 4.02 (2015-07-27)
> 
> With ocaml 4.06, -safe-string is now default
> This separates the types bytes (mutable string) and string

For Fedora Rawhide, which has ocaml 4.06, we came up with a patch to make 
xen ocaml safe-strings compliant (which I haven't got around to submitting 
to this list yet).

The patch is at
https://src.fedoraproject.org/rpms/xen/blob/master/f/xen.ocaml.safe-strings.patch
with the related Fedora bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1526703

        Michael Young

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to