-
Notifications
You must be signed in to change notification settings - Fork 414
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
Unable to parse some import values #1738
Comments
On 4 January 2019 at 20:15 CET, Rudi Grinberg wrote:
See, the following error message produced on 4.02.3/OSX:
[…]Error: Unable to read variable "FFI_FASTCALL" of type int. Invalid value "+0000000004" in /var/folders/tz/tvzjldvx3s34fnw1qs9lk1240000gn/T/ocaml-configuratordbaa52/c-test-55/test.o found
@Chris00 can you take over this?
Sure. It is just `int_of_string` that does not like the `+` on 4.02.3. Any idea why that was not caught by the CI when I submitted the PR?
|
Because we only run the tests on the latest version. |
On 4 January 2019 at 20:33 CET, Rudi Grinberg wrote:
Because we only run the tests on the latest version.
Shouldn't they also be run on another version—say the first version of the compiler supported?
|
Yeah, that certainly be preferable. I think some of our expect tests aren't entirely portable across different versions of the compiler. So it's not so easy to solve, but we should certainly address this. |
Chris00
added a commit
to rgrinberg/jbuilder
that referenced
this issue
Jan 4, 2019
The function int_of_string in OCaml 4.02 does not support a leading '+'. Fixes ocaml#1738 Signed-off-by: Christophe Troestler <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See, the following error message produced on 4.02.3/OSX:
@Chris00 can you take over this?
The text was updated successfully, but these errors were encountered: