Skip to content

Error: Unbound value String.uppercase_ascii #65

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

Open
ZhuSixiao opened this issue Apr 12, 2017 · 5 comments
Open

Error: Unbound value String.uppercase_ascii #65

ZhuSixiao opened this issue Apr 12, 2017 · 5 comments

Comments

@ZhuSixiao
Copy link

File "tools/bridgen/codegen.ml", line 359, characters 18-40:
Error: Unbound value String.uppercase_ascii

environment:
clangml 3.7, clang-3.7, ubuntu 16, ocaml 4.02.3

@UnixJunkie
Copy link

try this: BatString.uppercase_ascii instead

@ZhuSixiao
Copy link
Author

I found 4.04.0 version ocaml compiler bypasses this issue.

@UnixJunkie
Copy link

You should have installed clangml with opam; it would have checked your ocaml version is supported.

@ZhuSixiao
Copy link
Author

on my machine by default opam chooses ocaml 4.02.3 + clangml-3.7 + clang-3.7 combination which leads to this issue.
If I pin ocaml to 4.04.0, opam chooses clangml-3.9 + clang-3.9 which works correctly.

@UnixJunkie
Copy link

you can try the correction I suggested. If it works, propose a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants