New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support ocaml 4.10. remove usage of -unsafe-string #316
Comments
Note that I am working on a bin_prot-based fork that builds without -unsafe-string: https://github.com/glondu/unison/tree/bin_prot The specific commit removing -unsafe-string is: I am waiting for the pull request #315 to be merged to propose a pull request with this commit. |
This branch compiles in native mode, but fails in bytecode (ocaml 4.08+4.09):
|
Oh. But Unison itself already uses unsafe features (the Obj module is used in Proplist). Maybe an option is missing. Nevertheless, the specific commit I was pointing at (100916a) does not depend on ppx_bin_prot... did you try it? |
I used the entire branch. Will try to use selected commits. |
I've pushed a branch for your convenience: |
Thanks. This worked for ocaml 4.07 to 4.10. With 4.05 this branch fails:
Does it needs its own copy of |
Unison predates |
Well, either way would probably work for me. |
Note that I've made a pull request for this: #351 |
I believe fixes are merged and this is resolved in 2.51.3. If not, please open a new PR with rationale for what's wrong in 2.51.3/master, assuming as little reader knowledge as possible. |
The text was updated successfully, but these errors were encountered: