ocaml-batteries-team/batteries-included — Issue #214: Current version does not compile: batArg changes: usage_string
Author: vincent-hugot
Created: 2012-01-13 15:13:15+00:00
State: open

Recent changes in batArg have broken compilation, at least on my system

vhugot@seth:~/Documents/batteries-included$ make all
...
+ ocamlfind ocamlc -c -g -annot -warn-error A -package bigarray,num,str -I src -I build -I qtest -I benchsuite -I libs -I testsuite -I src/syntax/pa_comprehension -I src/syntax/pa_strings -I libs/estring -o src/batArg.cmo src/batArg.ml
**File "src/batArg.ml", line 46, characters 19-35:
Error: Unbound value Arg.usage_string**

I took a quick look, and there is **no** `usage_string` in my /usr/lib/ocaml/arg.ml{,i}.

Using vanilla ocaml 3.12.0, on ubuntu oneiric (11.10), so I assume usage_string is deprecated or something, though it does appear in the doc without any such mention ?