<div dir="ltr">I have seen all sorts of errors when trying to sync between versions of Unison that use different versions of OCaml.<div><br></div><div>Even two versions of OCaml that you might think should be compatible (e.g. OCaml 4.01 and 4.02) will produce problems, due to breaking changes between those versions of OCaml.</div><div><br></div><div>--Chris</div><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 20, 2015 at 9:33 PM, Frederik Eaton <span dir="ltr"><<a href="mailto:frederik@ofb.net" target="_blank">frederik@ofb.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Jul 20, 2015 at 11:15:18PM -0400, Julian Squires wrote:<br>
> On Mon, Jul 20, 2015 at 10:35 PM, Frederik Eaton <<a href="mailto:frederik@ofb.net">frederik@ofb.net</a>> wrote:<br>
> > I'm wondering if this problem is due to a recent change in OCaml<br>
> > libraries, since I don't think an obvious bug like this would have<br>
> > persisted for 14 years? I don't know much about OCaml but it looks<br>
> > like the 'unison' binary doesn't link any OCaml DLLs... OTOH a lot of<br>
> > your String operations trigger deprecation warnings.<br>
><br>
> What version of OCaml are you using?  Strings are becoming immutable<br>
> in newer releases, but code should only have warnings.  You might see<br>
> if the problem persists compliing with 4.01.<br>
<br>
</span>I'm running Arch and the OCaml version is 4.02.1-1. However, the<br>
Debian system I tested on has Objective Caml 3.12.1, Unison 2.40.65,<br>
and they both produce assertion failures in <a href="http://path.ml" rel="noreferrer" target="_blank">path.ml</a>. Are others not<br>
able to reproduce the bug by running the scripts I provided?<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Unison-hackers mailing list<br>
<a href="mailto:Unison-hackers@lists.seas.upenn.edu">Unison-hackers@lists.seas.upenn.edu</a><br>
<a href="http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers" rel="noreferrer" target="_blank">http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers</a><br>
</div></div></blockquote></div><br></div></div></div>