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

Re: [Xen-devel] [PATCH RFC] ocaml: Fix compile with ocaml 4.06, use unsafe strings

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
with the related Fedora bug at

        Michael Young

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.