clangml
clangml copied to clipboard
Error: Unbound value String.uppercase_ascii
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
try this: BatString.uppercase_ascii instead
I found 4.04.0 version ocaml compiler bypasses this issue.
You should have installed clangml with opam; it would have checked your ocaml version is supported.
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.
you can try the correction I suggested. If it works, propose a patch.