-
Notifications
You must be signed in to change notification settings - Fork 36
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
Compilation issue with yojson 2.x.x #159
Comments
I just ran into this issue on Gentoo. @SnarkBoojum have you had time to see if this can be patched? |
I have no clue where |
(now that I think of it, |
Here is a first draft ; some output is different so it breaks some tests, but it doesn't look insane:
|
how? (not that I did a release on Friday since the test suite was broken) |
Well, using a different yojson means pretty printing has some slight differences ; for example:
|
Oh, but this change is more about |
(yojson prints a single line, I then run ydump on it to make the test reference readable) |
It's not backward-compatible ; in fact I'm using yojson 2.0.2 and atd 2.10.0. |
I added a commit to tighten the dependency on atd. |
If one compiles a more recent yojson (2.0.2 here), then use it against ocaml-atd 2.9.1, then the resulting lib breaks elpi:
because indeed in the 2.x.x series, yojson doesn't use biniou anymore, so Bi_outbuf isn't there anymore.
I noticed it because I'm looking into updating yojson in Debian, so I could find everything that breaks and report to the various upstreams.
I'll try to provide a patch.
The text was updated successfully, but these errors were encountered: