stevenvar / OMicroB

An OCaml generic virtual machine for microcontrollers
Other
138 stars 23 forks source link

tuto_1_led does not compile with OCaml 4.06.0 ? #4

Closed iguerNL closed 6 years ago

iguerNL commented 6 years ago

I get the following error on OCaml 4.06.0. If I switch to OCaml 4.05.0, the command works fine.

$ make led.byte 
/home/mi/Desktop/pro/cours-pics-jfla/OMicroB/bin/omicrob -v led.ml -mlopt -verbose -stack-size 32 -heap-size 32
+ CAMLLIB=/home/mi/Desktop/pro/cours-pics-jfla/OMicroB/lib /home/mi/.opam/4.06.0/bin/ocamlc.opt -g -w A -safe-string -strict-sequence -strict-formats -ccopt -D__OCAML__ -custom -verbose led.ml -o led.byte
File "led.ml", line 1:
Error: Files led.cmo
       and /home/mi/Desktop/pro/cours-pics-jfla/OMicroB/lib/stdlib.cma(Avr)
       make inconsistent assumptions over interface Pervasives
make: *** [led.byte] Error 2
stevenvar commented 6 years ago

Fixed! Thanks