Circe2 does not compile with ocaml >= 4.08.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| WHIZARD |
High
|
Thorsten Ohl |
Bug Description
Lara Mason wrote:
Hi experts,
A probably very naive question- I am trying to set up Whizard on Mac OSX in the standard way (configure, make, make install) but I consistently get this error no matter what I try
119 | let a = Array2.map_file fd float64 fortran_layout true dim1 dim2 in
Error: Unbound value Array2.map_file
make[2]: *** [events.cmx] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Do you have any suggestions as to how to get around this?
Thanks in advance,
Lara
Thorsten Ohl (thomega) wrote : | #1 |
Changed in whizard: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Thorsten Ohl (thomega) |
milestone: | none → 2.8.2 |
Juergen Reuter (j.r.reuter) wrote : | #2 |
Our tests missed this because we are only using versions 4.07 up to now. I have to say I don't like some of the new policies of the OCaml development team to delete deprecated features in one module already two minor version after the new features in another module have been introduced.
Changed in whizard: | |
status: | In Progress → Fix Committed |
Changed in whizard: | |
status: | Fix Committed → Fix Released |
The map_file functions have been moved from Bigarray to Unix in ocaml 4.08.0. For
inexplicable reasons, our tests missed this ...
It's straightforward to fix, but I need to work on a fix that compiles with the currently
supoorted versions before 4.06.0 as well.